headers abstract method

ReadOnlyHeaders headers(
  1. ReadOnlyHeaders? requestHeaders
)

Resolves the headers based on the body.

Some expected headers are:

  • Content-Type
  • Content-Length
  • Content-Encoding

Implementation

ReadOnlyHeaders headers(ReadOnlyHeaders? requestHeaders);