Resolves the headers based on the body.
Some expected headers are:
Content-Type
Content-Length
Content-Encoding
Headers headers(Headers? requestHeaders);