- From: Manuele Kirsch Pinheiro <Manuele.Kirsch_Pinheiro@inrialpes.fr>
- Date: Wed, 27 Feb 2002 10:58:40 +0100
- To: abhijit patil <abhijitp@opussoft.com>
- CC: jhu@woodwing.com, www-lib@w3.org
Hi,
Joost Huizinga wrote:
>The http status code is one of the parameters passed to the terminate
>handler.
>
>- Joost
>
In addition: you may also combine this status code information with the
"reason line", which is available in HTResponse object (use
HTResponse_reason (HTResponse * response)). Beside this, you may also
register an error callback to see internal errors. For this you may use
something like this : HTRequest_addAfter (request , error_callback,
NULL, NULL, HT_ERROR, HT_FILTER_LAST, NO).
good luck! :)
Manuele
>
>>-----Original Message-----
>>From: www-lib-request@w3.org [mailto:www-lib-request@w3.org]On Behalf Of
>>abhijit patil
>>Sent: woensdag 27 februari 2002 17:39
>>To: www-lib@w3.org
>>Subject: Error Problem
>>
>>
>>Hi All,
>>I am using HTProfile_newNoCacheClient("HTTPTest", "1.0") for initialize.
>>In terminate handler I want to trap Http error code if the request is not
>>successful.
>>How do I get the HTTP error?
>>
>>
>>
>>Thanx in advance.
>>
>>Abhijit
>>
>>
>
>
>
Received on Wednesday, 27 February 2002 04:53:55 UTC