C#: Disable the Expect 100 Continue issue
Filed Under (c#, net) by The Chef on 26-04-2009
Tagged Under : c#, Expect 100
Here is a quick way to disable the Expect 100 Continue problem in C#. Simply put this line at the begining of your code:
System.Net.ServicePointManager.Expect100Continue = false;
Superb!
I wasted a day to find out that this was my problem calling a simple Http server from .NET.
I always keep wondering why such big libraries like .NET make life so hard. Why can’t the just work like Erlang/OTP?