Archive | Imprint | Privacy
17th March 2008
Nerd 2.0

C # WebRequest and faulty web server

C # Post request to work in their default not work with all web servers.

It can happen that when a misconfigured web server a "(417) Expectation Failed" WebException is thrown, because the web server not a "100-continue" returns.

Very annoying and not something simply off well, but it is yet.

// "HTTP_EXPECT" Abschalten
System.Net.ServicePointManager.Expect100Continue = false;

Vielen Dank für die Lösung an haacked.com .

Ähnliche Beiträge:
Entpacken mit PHP
Webserver & DHCP auf DLink 360T
Neue Seite für das Netzwerk
Archiv für WordPress! Ohne Links?
Manuals, Fehler und Entspannung

Kommentieren


Ähnliche Beiträge:
Entpacken mit PHP
Webserver & DHCP auf DLink 360T
Neue Seite für das Netzwerk
Archiv für WordPress! Ohne Links?
Manuals, Fehler und Entspannung

Kommentieren