![]() |
nach HTTP/1.0 400 Bad Request idhttp weiterverwenden
Hi,
manchmal bekomme ich wenn ich eine Inetseite mit Idhttp aufrufe folgenden Fehlermeldeung: Zitat:
Delphi-Quellcode:
tjoa aber trotz des neues Inizialisieren von Idhttp bekomme ich ab dann immer diese Fehlermeldung egal welche Seite ich aufrufe!
try
s:=idhttp.get('http://www.wieistmeineip.de/'); except idhttp.Free; idhttp:=tidhttp.Create(nil); IdHTTP.HandleRedirects:=True; IdHTTP.RedirectMaximum:=15; IdHTTP.Request.UserAgent:='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)'; idhttp.IOHandler:=IdSSLIOHandlerSocketOpenSSL1; IdSSLIOHandlerSocketOpenSSL1.SSLOptions.CertFile:=ExtractFilePath(ParamStr(0))+'ssl.cer'; IdSSLIOHandlerSocketOpenSSL1.SSLOptions.VerifyDepth:=2; IdSSLIOHandlerSocketOpenSSL1.SSLOptions.Method:=sslvSSLv3; IdSSLIOHandlerSocketOpenSSL1.SSLOptions.Mode:=sslmClient; IdHTTP.ReadTimeout:=5000; exit; end; Wie kann ich das ändern? mfg gandime |
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:33 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz