Adds the header. If the header has already been defined (e.g. from HeaderCarrier), it will be replaced. It does not affect headers not mentioned.
Use transform(_.addHttpHeaders) to append header values to existing.
transform(_.addHttpHeaders)
withBody should be called rather than transform(_.withBody). Failure to do so will lead to a runtime exception
withBody
transform(_.withBody)