400 return code on Content-length: 0.

David Martínez Moreno ender at tuenti.com
Fri Oct 3 17:54:09 CEST 2008


	I'm seeing HTTP/1.1 400 Bad Request when querying Varnish with 
Content-length: 0 headers.  The point is that the RFC doesn't explicitly 
states which method forbids bodies so I guess it’s all right to have a zero 
valued Content-length.

	Thoughts?


		Ender.
-- 
- You were at 4,000 degrees Kelvin! You were approaching supernova!
- Sweet!
- No, not "sweet"! That's the heat of the sun!
- You could kill yourself, other people, and burn up the atmosphere, ending
  all human life as we know it.
- Got it. Supernova bad.
		-- Susan and Johnny Storm, and Reed Richards (Fantastic Four).
--
Responsable de sistemas
tuenti.com



More information about the varnish-misc mailing list