Skip to content
#

http-request

Here are 142 public repositories matching this topic...

brighttank
brighttank commented Aug 9, 2021

For some reason Amazon REST api's require the content-type to be set to "application/x-amz-json-1.1" instead of the standard "application/json"

Currently the content-type header is set automatically for json data overriding any headers passed in to the request.

It would be useful to first check if the header is set before overriding it:

if (!this.request.headers.set('content-type')) {
alessiosavi
alessiosavi commented Nov 5, 2020

Under analysis ....

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or

Improve this page

Add a description, image, and links to the http-request topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the http-request topic, visit your repo's landing page and select "manage topics."

Learn more