Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi idHttp Post-> Exception, benötige Header der Fehlermeldung (https://www.delphipraxis.net/103843-idhttp-post-exception-benoetige-header-der-fehlermeldung.html)

richard_boderich 22. Nov 2007 15:30


idHttp Post-> Exception, benötige Header der Fehlermeldun
 
Hallo

Ich bekomme auf einen idHttp Post einen 303 Error. Ich benötige den Header oder den Quelltext der Fehlerantwort.
Es kommt ein Paket mit den Nötigen Informationen an, hab ich mit Wireshark gecheckt. Nur wie kann ich auf die Daten zugreifen? Kann jemand da mal einen Tip geben?

Gruß Richard

mkinzler 22. Nov 2007 16:26

Re: idHttp Post-> Exception, benötige Header der Fehlerme
 
3xx sind Umleitungfehler (redirection)

Zitat:

303 See Other

The response to the request can be found under a different URI and SHOULD be retrieved using a GET method on that resource. This method exists primarily to allow the output of a POST-activated script to redirect the user agent to a selected resource. The new URI is not a substitute reference for the originally requested resource. The 303 response MUST NOT be cached, but the response to the second (redirected) request might be cacheable.

The different URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).

Note: Many pre-HTTP/1.1 user agents do not understand the 303
status. When interoperability with such clients is a concern, the
302 status code may be used instead, since most user agents react
to a 302 response as described here for 303.

hinnack 23. Nov 2007 06:28

Re: idHttp Post-> Exception, benötige Header der Fehlerme
 
welche INDY Version?


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:45 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz