Refactor get-request body to deal with http 1.1 clients