On Tue, Jun 18, 2013 at 06:32:13PM +0200, Lieven Govaerts wrote: > This 204 response is not a problem, there's a special case for > Content-Length == 0 && code == 204 in serf (response_buckets.c).
Looking at the serf (1.2.1) code, that logic isn't right, you need to follow the precedence in the RFC, particularly that [23]04 is dominant over C-L/T-E in determining message length. (I don't know whether that bug could manifest exactly as described here.) http://tools.ietf.org/html/rfc2616#section-4.4 Regards, Joe