comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
To: Adrian Hoe <abyhoe@gmail.com>
Subject: Re: GNAT.Sockets: Authentication at HTTP Server
Date: Tue, 11 Sep 2007 19:03:50 +0200
Date: 2007-09-11T19:03:50+02:00	[thread overview]
Message-ID: <46E6CA76.1060402@obry.net> (raw)
In-Reply-To: <1189528985.876768.122400@57g2000hsv.googlegroups.com>

Adrian Hoe a �crit :
> How do I connect to a HTTP server (a website) which requires
> authentication (Username, Password) with GNAT.Sockets?

You can't. I mean GNAT.Sockets does not support HTTP. You can either
directly read/write the HTTP protocol into the socket (see corresponding
RFC) or use AWS (see AWS.Client) which does support Basic and Digest
authentication.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



  reply	other threads:[~2007-09-11 17:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-11 16:43 GNAT.Sockets: Authentication at HTTP Server Adrian Hoe
2007-09-11 17:03 ` Pascal Obry [this message]
2007-09-11 17:07 ` Tero Koskinen
2007-09-13  8:29   ` Adrian Hoe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox