Fixes the content-length header passing issue.