From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,81e499698343740e X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!fdn.fr!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <46E6CA76.1060402@obry.net> Date: Tue, 11 Sep 2007 19:03:50 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: Adrian Hoe Subject: Re: GNAT.Sockets: Authentication at HTTP Server References: <1189528985.876768.122400@57g2000hsv.googlegroups.com> In-Reply-To: <1189528985.876768.122400@57g2000hsv.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 11 Sep 2007 19:03:50 CEST NNTP-Posting-Host: 90.35.80.88 X-Trace: 1189530230 news.orange.fr 27388 90.35.80.88:3156 X-Complaints-To: abuse@orange.fr Xref: g2news2.google.com comp.lang.ada:1890 Date: 2007-09-11T19:03:50+02:00 List-Id: 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