Skip to content
#

http-client

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

hoppscotch
SobhanMP
SobhanMP commented Dec 6, 2021

Is your feature request related to a problem?

While setting the target interface's ip should work in most cases, it's possible that multiple devices have the same ip.

Also i'm having trouble using a wireguard vpn when i set Table=off. Table=off disables setting up the routes for the vpn and it justs shows up as a regular device. The connection is fine as pycurl can access it when i set

tszlek
tszlek commented Aug 17, 2021

Hi, I have discovered issue when using feign.httpclient.ApacheHttpClient.
In some cases Apache client throws ProtocolException which is a checked exception. This happens for example when server returned 303 HTTP code but there was no location header.
In such case Feign proxy throws UndeclaredThrowableException instead of invoking ErrorDecoder.

node-fetch
tinovyatkin
tinovyatkin commented Jun 12, 2020

node-fetch currently completely ignoring Content-Length header while consuming response.
Fetch specification about handling Content-Length on server response says almost nothing:
https://fetch.spec.whatwg.org/#concept-http-network-fetch (see whatwg/fetch#67)

On other hand, we have a fetch-node specific extension to limit the size of the response.

My prop

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