JB___
2006-09-19 09:14:01 UTC
Hi,
I am currently developing a winhttp client that post data on a server
(Tomcat) and wait for his repsonse.
I am currently able to treat all the receive request that have a return
status between 100 - 999 (even those who aren't common status).
The server I am working with is returning a 10200 code when the request is
correctly treated but, using winhttp I am unable to receive the response (I
have see it using an http sniffer).
The error occured during "WinHttpReceiveResponse" use. This function return
false for status code over 999. Using getLastEroor I get the following
message: "ERROR_WINHTTP_INVALID_SERVER_RESPONSE".
Do you know if there is a way to extend the range of accepted status code by
winhttp ?
Thanks.
I am currently developing a winhttp client that post data on a server
(Tomcat) and wait for his repsonse.
I am currently able to treat all the receive request that have a return
status between 100 - 999 (even those who aren't common status).
The server I am working with is returning a 10200 code when the request is
correctly treated but, using winhttp I am unable to receive the response (I
have see it using an http sniffer).
The error occured during "WinHttpReceiveResponse" use. This function return
false for status code over 999. Using getLastEroor I get the following
message: "ERROR_WINHTTP_INVALID_SERVER_RESPONSE".
Do you know if there is a way to extend the range of accepted status code by
winhttp ?
Thanks.