Prevent exception under 1.9.3 for POST without content-length

Need this to prevent errors when sending POSTs with an empty body.