E
Eric
Hello,
Can someone help out with forcing the Content-Length header to 0 when
returning an HTTP 204 with NO body (working in a WSE2.0 web service) I can't
seem to gain access to the Content-Length Header
I'm trying the following:
HttpResponse httpResponse = Context.Response;
httpResponse.AppendHeader("Content-Length", z.ToString());
httpResponse.StatusCode = i;
httpResponse.Flush();
Seems that there is an override behavior somewhere outside of the WebMethod
that is stripping out the content-Length header.
-thanks!
Can someone help out with forcing the Content-Length header to 0 when
returning an HTTP 204 with NO body (working in a WSE2.0 web service) I can't
seem to gain access to the Content-Length Header
I'm trying the following:
HttpResponse httpResponse = Context.Response;
httpResponse.AppendHeader("Content-Length", z.ToString());
httpResponse.StatusCode = i;
httpResponse.Flush();
Seems that there is an override behavior somewhere outside of the WebMethod
that is stripping out the content-Length header.
-thanks!