- From: Kroemer, Jochen <Jochen.Kroemer@t-systems.de>
- Date: Thu, 19 Jul 2001 14:55:31 +0200
- To: www-lib@w3.org
it works! Thanks a lot Jochen From: Steinar Bang [mailto:sb@metis.no] --- snip >> HTChunk_data(result_chunk) is NULL. So I'm not able to fetch the >> error description. (Same result, when using example-program >> postform.c) > >What I do, is to create a stream where I want an eventual debug >message to show up, and then add it to all outgoing requests with the >following statements: > HTRequest_setDebugStream(request, debug); > HTRequest_setDebugFormat(request, WWW_SOURCE); >(where "debug" is the HTStream* where you want the error message to >end up) > --- snip >> Any hints how I can get the header and body with a POST-request too? >Maybe you can adjust the default output format of the POST request? >Maybe calling > HTRequest_setOutputFormat(request, WWW_RAW); >on requests before sending them will do the trick?
Received on Thursday, 19 July 2001 08:55:45 UTC