[Mono-dev] HttpWebRequest method patch

Atsushi Eno atsushi at ximian.com
Sun Jan 28 18:46:18 EST 2007


Hi,

I have a patch for HttpWebRequest.cs which might be problematic.

HttpWebRequest differentiates request/response stream processing
based on the method (POST/PUT etc.). .NET actually handles things
like "post" as POST and thus with such methods it uses POST-style
processing.

The attached patch makes HttpWebRequest to work along that way,
but to me it looks like HTTP RFC (2616) violation.

(I noticed this issue when trying to get Lingr API .NET wrapper ==
http://www.legendes.jp/lingr/api.net/ . The source will be fixed
anyways.)

Atsushi Eno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: http-method-case.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070129/a173c10c/attachment.pl 


More information about the Mono-devel-list mailing list