Hi,

On Tue, Oct 4, 2011 at 1:41 PM, Charitha Kankanamge <chari...@wso2.com>wrote:

> Folks,
>
> Is the body optional for HTTP 200 OK messages? In other words, is the
> following response valid?
>

Yes. This is a valid response [1]. Specially, response to a HEAD request
always comes without an entity body.

[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1

Thanks,
Sadeep


>
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Length: 0
> Date: Tue, 04 Oct 2011 07:40:56 GMT
>
> Thanks!
> Charitha
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sadeep Jayasumana

Software Engineer
WSO2 Inc.
Email - sad...@wso2.com
Mobile - +94 77 22 66 507
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to