preserveHeaderCase property

bool? preserveHeaderCase
getter/setter pair

Whether the case of header keys should be preserved.

Defaults to false.

This option WILL NOT take effect on these circumstances:

  • XHR (HttpRequest) does not support handling this explicitly.
  • The HTTP/2 standard only supports lowercase header keys.

Implementation

bool? preserveHeaderCase;