Good morning, Mark! The only way I know, to get the HTTP status of a request, is to add your own "after-filter". Something like this: // your after filter int terminator(HTRequest * req, HTResponse * resp, void * param, int status) { ... } // in your main program ... HTNet_addAfter(terminator, NULL, NULL, HT_ALL, HT_FILTER_LAST); ... In "status" you will get the HTTP-status of the request "req"! Hope this will help you ... Ciao D. Hi people! Reading without headers, but need a bit of header info... I'm largely following the example in chunkbody.c, I'm doing a: HTAnchor * anchor = HTAnchor_findAddress(absolute_url); chunk = HTLoadAnchorToChunk(anchor, request); ..but then followed by parent = HTAnchor_parent(anchor); format = HTAnchor_format(parent); so I can obtain the "Content-type:". Fine. That works fine... ..but just how on earth do I get the status response in the "HTTP/1.x" line? It sure ain't by "HTAnchor_version" because that's returning a null, and it's sure ain't by any "HTAnchor_header" because that returns nulls too. I'm a teensie bit baffled right now.......Anyone have any ideas? Pretty please? Cheers MarkReceived on Tuesday, 28 November 2000 03:25:16 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:38 GMT