parseHeaders
The headers property also supports a JSON string, while the manager only accepts an object, so strings are parsed. An invalid JSON string parses to undefined, which throws when the request is configured.
The headers property also supports a JSON string, while the manager only accepts an object, so strings are parsed. An invalid JSON string parses to undefined, which throws when the request is configured.