minor fix for content length negotiation