[Mono-devel-list] [PATCH] The value of SOAPAction http header field needs to be quoted.

Lluis Sanchez lluis at ximian.com
Wed Jan 21 12:53:34 EST 2004


Patch applied. Thanks!

- Lluis

On dc, 2004-01-21 at 18:05, Yaacov Akiba Slama wrote:
> As required in 
> http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-1.0a.html#refinement34343864
> 
> --- 
> System.Web.Services/System.Web.Services.Protocols/SoapHttpClientProtocol.cs.orig
> +++ 
> System.Web.Services/System.Web.Services.Protocols/SoapHttpClientProtocol.cs
> @@ -167,7 +167,7 @@
>                         WebRequest request = GetWebRequest (uri);
>                         request.Method = "POST";
>                         WebHeaderCollection headers = request.Headers;
> -                       headers.Add ("SOAPAction", message.Action);
> +                       headers.Add ("SOAPAction", "\"" + message.Action 
> + "\"");
>                         request.ContentType = message.ContentType + "; 
> charset=utf-8";
>                         return request;
>                 }
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list