W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2001

Re: get body of a response

From: Steinar Bang <sb@dod.no>
Date: Mon, 12 Nov 2001 16:27:59 -0500 (EST)
To: "Wang, Xinju" <Xinju.Wang@ugs.com>
Cc: www-lib@w3.org
Message-ID: <87eln3d775.fsf@bang.priv.no>
>>>>> "Wang, Xinju" <Xinju.Wang@ugs.com>:

> Another question related to this multi status code. In HTTP.c, there is the
> following code:

> case 207:	/* Partial Update OK */
> 	HTRequest_addError(me->request, ERR_INFO, NO, HTERR_PARTIAL_OK,
> 	me->reason, (int) strlen(me->reason), "HTTPNextState");
> 	http->next = HTTP_OK;
> 	http->result = HT_PARTIAL_CONTENT;
> 	break;

> Why the status code 207 is replaced by the HT_PARTIAL_CONTENT (206)?

My guess is that it is some old experimental code left in place.

> Is there some reason to convert the code?

To make it be handled in the same way as HT_PARTIAL_CONTENT, I guess.

However, that isn't the way 207 Multi Status of WebDAV is meant to be
handled.  I guess 200 OK comes closest, so that's what I used in the
diff I sent in my other message.
Received on Tuesday, 13 November 2001 03:08:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC