See #2409: Remove double replacing of dashes and instead change `Content-Type` to `CONTENT_TYPE`
See #2409: Reformating and code cleanup for request_headers;