According to RFC 2068 (10.3.5), //"[A 304 Not Modified] response MUST NOT contain a message-body."//
RFC 2616 (10.3.5) agrees, stating that //"The 304 response MUST NOT contain a message-body, and thus is always terminated by the first empty line after the header fields."//
Currently, lhttpc_client expects an entity body for a 304 response.
Support is already included to properly handle 204, so the only change that needs to be made is an additional clause for lhttpc_client:has_body.
The patch is trivial, but I've attached it nonetheless.