204 no content response with Content-Length header.

Hi everyone.

I'm seeing some responses coming back from a server with status code 204 
and a non-zero Content-Length header.

Since the spec says that 204 responses MUST not contain a body, and 
therefore are terminated by the first empty line, what should one make 
of the Content-Length header?

Should we (in a proxy)

a) ignore it and pass it to client
b) strip it from message to client
c) treat it as some meta data being communicated / updated
d) something else

Regards

Adrien de Croy

Received on Thursday, 28 May 2015 11:50:16 UTC