[DUG] TIdHTTP
Matt Comb
matt at ferndigital.com
Wed Jun 15 15:47:20 NZST 2005
Ross I have a simple project which outputs session info
Saves you having to grab/conigure ethereal.
Matt.
----- Original Message -----
From: "Ross Levis" <ross at stationplaylist.com>
To: <leighw at softtech.co.nz>; "NZ Borland Developers Group - Delphi List"
<delphi at ns3.123.co.nz>
Sent: Wednesday, June 15, 2005 3:41 PM
Subject: Re: [DUG] TIdHTTP
>I can paste the URL into IE and it works, apart from the
> username:password syntax which IE doesn't support anymore, but Indy
> does. eg.
>
> HTTP.Get('http://user:pass@hostname.com:8000/folder');
>
> Indy parses the URL and fills the relevant properties automatically.
> I've tried without the user:pass syntax and entered this info directly
> into the IDE, but still no go. The same code works fine on a web page
> which doesn't require authentication. I'm stumped at this stage.
>
> I may need to check out Ethereal.
>
> Cheers,
> Ross.
>
> ----- Original Message -----
> From: "Leigh Wanstead" <leighw at softtech.co.nz>
> To: "NZ Borland Developers Group - Delphi List" <delphi at ns3.123.co.nz>
> Sent: Wednesday, June 15, 2005 3:26 PM
> Subject: RE: [DUG] TIdHTTP
>
>
> Hi Ross,
>
> I can only suggest using ethereal http://www.ethereal.com/ without
> knowing
> your technical detail. Make sure that important data matchs normal IE
> browser. That is the way I debug some hard tcp/ip problem.
>
> Regards
> Leigh
> http://www.salenz.com
>
> -----Original Message-----
> From: delphi-bounces at ns3.123.co.nz
> [mailto:delphi-bounces at ns3.123.co.nz]On Behalf Of Ross Levis
> Sent: Wednesday, 15 June 2005 3:17 p.m.
> To: NZ Borland Developers Group - Delphi List
> Subject: Re: [DUG] TIdHTTP
>
>
> I should add that I'm using the HTTP.Get method.
>
> Cheers,
> Ross.
>
> ----- Original Message -----
> From: "Ross Levis" <ross at stationplaylist.com>
> To: "NZ Borland Developers Group - Delphi List" <delphi at ns3.123.co.nz>
> Sent: Wednesday, June 15, 2005 3:11 PM
> Subject: [DUG] TIdHTTP
>
>
> I have a question which I've posted on the Indy newsgroup without a
> response at this stage so thought I would try here, in case someone has
> done this before.
>
> Using D7 with the last release of Indy 9.
>
> I need to login to a web page on an HTTP server which requires a
> standard
> http auth username and password. The URL is formatted correctly to
> contain
> this information, and I've also tried setting the Request.Username and
> Request.Password properties, but it doesn't work. The server is
> responding
> with...
>
> HTTP/1.0 401: Authentication Required
>
> I can log into the web page manually in IE. Can anyone suggest what may
> be
> the problem?
>
> Cheers,
> Ross.
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
More information about the Delphi
mailing list