Article View: borland.public.cppbuilder.internet.socket
Article #324Re: C++ Builder 2007 & Indy10 + Digest auth...
From: Jyrki Saario
Date: Tue, 15 Apr 2008 09:30
Date: Tue, 15 Apr 2008 09:30
32 lines
2312 bytes
2312 bytes
Remy Lebeau (TeamB) wrote: > Can you show the actual packet data that Wireshark captures? Here is more details from HTTP packages: 1. My program sends GET message 2. Server answers with 401 3. My programs sends this GET message with authentication information: GET /Remote/index.shtml HTTP/1.1\r\n Host: 192.168.0.13\r\n Accept: text/html, */*\r\n Accept-Encoding: identity\r\n User-Agent: Mozilla/3.0 (compatible; Indy Library)\r\n [truncated] Authorization: Digest username="username", realm="WebPage Configuration", nonce="MDAwMDAwMDExNDo0MjY6MDEwLjA0Ni4wMDguMDEx", algorithm="MD5", uri="", qop="auth", nc=00000001, cnonce="e1a8e5c838d1878ebb7dfe599d00940e", response="9f43f1 4. Server answers: HTTP/1.0 401 Unauthorized access\r\n WWW-Authenticate: Digest realm="WebPage Configuration", nonce="MDAwMDAwMDExNTo1NzY6MDEwLjA0Ni4wMDguMDEx", algorithm=MD5, domain="rization:", qop="auth"\r\n Server: GAH-Web\r\n Content-Type: text/html\r\n Content-Length: 107 this same procedure will be done two times more. Please let me know if you need more info from lower level. J.S
Technical Details
Message-ID:
<48047653@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<48035008@newsgroups.borland.com> <480388e6$1@newsgroups.borland.com> <480396b8$1@newsgroups.borland.com> <4803a6db@newsgroups.borland.com> <4803ac9f$1@newsgroups.borland.com> <4803b372@newsgroups.borland.com> <4803c9ba$1@newsgroups.borland.com> <4803dd91$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,d2c1cbe3fa01c X-Google-Attributes: gid11508e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 15 Apr 2008 12:30:40 +0300 From: Jyrki Saario <user@domain.invalid> User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: C++ Builder 2007 & Indy10 + Digest auth... References: <48035008@newsgroups.borland.com> <480388e6$1@newsgroups.borland.com> <480396b8$1@newsgroups.borland.com> <4803a6db@newsgroups.borland.com> <4803ac9f$1@newsgroups.borland.com> <4803b372@newsgroups.borland.com> <4803c9ba$1@newsgroups.borland.com> <4803dd91$1@newsgroups.borland.com> In-Reply-To: <4803dd91$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.241.180.150 Message-ID: <48047653@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1208251987 83.241.180.150 (15 Apr 2008 02:33:07 -0700) Lines: 32 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.isoc.lu!newsgroups.borland.com!not-for-mail