Article View: borland.public.cppbuilder.internet.socket
Article #406TIdWebDav and Digest Authentication
From: David W
Date: Wed, 30 Jan 2008 16:32
Date: Wed, 30 Jan 2008 16:32
14 lines
1770 bytes
1770 bytes
I'm using digest authentication to put files onto a web server using WebDav. I'm using TIdWebDAV supplied as part of the the Indy 10 libraries and developing the application using CodeGear C++ Builder. When debugging the application I've found that within TIdDigestAuthentication the Authentication function only gets called for current step = 0. After this the DoNext function gets called and populates the required variables. However although although DoNext returns with 'wnDoRequest' after incrementing the current step to 1, the Authentication function never gets called again. The call to WebDAV.put therefore fails. A test call in the code to the Authentication function proves that it will return the correct authentication string for current step = 1 if it ever got called again. Anyone got any ideas? David
Technical Details
Message-ID:
<47a0b498$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!62.216.30.27.MISMATCH!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f0a6573fd984da89,start X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "David W" <davidw@gemstv.co.uk> Sender: "David W" <davidw@gemstv.co.uk> Reply-To: "David W" <davidw@gemstv.co.uk> Subject: TIdWebDav and Digest Authentication Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 195.188.19.226 X-Forwarded-For: 192.168.46.85 NNTP-Posting-Host: 207.105.83.66 Message-ID: <47a0b498$1@newsgroups.borland.com> Date: 30 Jan 2008 09:32:08 -0700 X-Trace: newsgroups.borland.com 1201714328 207.105.83.66 (30 Jan 2008 09:32:08 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!62.216.30.27.MISMATCH!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail