[Mono-dev] HttpWebRequest method patch

Gert Driesen gert.driesen at telenet.be
Tue Jan 30 03:12:31 EST 2007


----- Original Message ----- 
From: "Robert Jordan" <robertj at gmx.net>
To: <mono-devel-list at lists.ximian.com>
Sent: Monday, January 29, 2007 12:46 PM
Subject: Re: [Mono-dev] HttpWebRequest method patch


> Hi Atsushi,
>
> Atsushi Eno wrote:
>> Well, it is very good idea to report this BUG to Microsoft and
>> let them fix it. I will do that unless someone points out that
>> our (a couple of lingr users') interpretation is wrong.
>>
>> I rather want judgement of the spec situation: whether HTTP methods
>> like "posT" must retrieve request/response stream like POST.
>
> Since Apache & IIS are both accepting case-insensitive method names
> it's a good idea to switch to POST-like behavior in HttpWebRequest,
> as implied by your patch.
>
> Robert

Atsushi, have your decided against changing our implementation to match that 
of MS ?

Without doubt, the HTTP RFC states that method is case-sensitive. But then 
again, the question (at least for me) is whether we want to follow MS on 
this one ?

It might be a good idea to clearly state this (to finish up the thread) as 
this probably also affects other classes (such as HttpListener).

Shouldn't we have Gonzalo's take on this, as he's the maintainer of the HTTP 
stack ?

Either way, I'm ok with it.

Gert 




More information about the Mono-devel-list mailing list