Fixed failing test due to content-type change
Prevent exception under 1.9.3 for POST without content-length