Skip to content
#

http-client

Here are 1,624 public repositories matching this topic...

panagiks
panagiks commented Apr 20, 2021

🐣 Is your feature request related to a problem? Please describe.
We had a report in aiohttp-session (see aio-libs/aiohttp-session#574) that a user submitting a 'large' cookie had the cookie dropped by the receiving browser.

According to RFC 6265 - section 6.1:

General-use user agents SHOULD
provide each of the following minimum

node-fetch
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')) {

Improve this page

Add a description, image, and links to the http-client 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-client topic, visit your repo's landing page and select "manage topics."

Learn more