headers property

Map<String, String> headers
final

The HTTP headers sent to the server.

Header names are converted to lowercase when sent to the server.

Some headers may not be sent by the Client for security or privacy reasons. For example, browser-based clients may only sent headers in the CORS safelist or specifically allowed by the server.

Implementation

final Map<String, String> headers;