Autor Beitrag
FriFra
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: Mo 30.09.02 02:46 
:evil: Ich habe seit Delphi7 plötzlich ein Problem mit IdHttp...
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
...
IdHTTP1.Request.Username := 'test';
IdHTTP1.Request.Password := 'geheim';
IdHTTP1.Host := 'MyServer';
IdHTTP1.Port := 80;
IdHTTP1.Get('/index.htm',MyStream);
...


Das Problem an der Sache ist nun, dass weder Userneme noch Passwort am Server "ankommen", weshalb die Verbindung abgelehnt wird. Mit dem Internet Explorer funktioniert der Zugriff auf die entspr. Seite.
M4EiB
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 41



BeitragVerfasst: Mo 30.09.02 08:34 
füge mal das noch ein
ausblenden Quelltext
1:
IdHTTP1.Request.BasicAuthentication := true;					
FriFra Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: Mo 30.09.02 09:24 
BasicAuthentication ist bereits True. Ausserdem bekomme ich immer eine HTTP1.1 /401 Fehlermeldung, egal ob bei Protocol 1_0 oder 1_1 ausgewählt ist...