Skip to content
#

http-client

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

jmiraglia-stuzo
jmiraglia-stuzo commented Dec 30, 2019

Is your feature request related to a problem? Please describe.
The GraphQL documentation portion of Insomnia does not resolve Union data types. Drilling into one of these types always produces a no description value to be displayed.

Describe the solution you'd like
It would be great if when selecting a Union data type, any types that make up that union are presented in the same

ianfp
ianfp commented Feb 7, 2019

Related to #781 and #517.

As described in #781, Feign overrides the timeouts configured in my Apache RequestConfig, even if I don't set custom request options in the Feign builder. This is unexpected behavior.

The change introduced to fix #517 copies the existing RequestConfig, but then immediately overwrites the timeouts, again, even if no Feign request options are set.

poco
bridgewaterrobbie
bridgewaterrobbie commented Sep 22, 2019

The documentation for Object, Var and Varholder lead me to believe that given the following setup:

std::vector<DynamicStruct> testList;
  Object t1;
  t1.set("name","com.tl");
  t1.set("num1",false);
  Object j;
  j.set("testval",testList);

The following call would let me extract the values (similar to my other use of Object with primitives and basic strings)

` auto retB

jeffcjohnson
jeffcjohnson commented Aug 1, 2019

To Reproduce

From the documentation Adding Parameters (body() in the docs should be body):

	Fuel.post("https://httpbin.org/post", listOf("foo" to "foo", "bar" to "bar"))
		.also { println(it.url) }
		.also { println(String(it.body.toByteArray())) }

Expected output

https://httpbin.org/post
"
JRGould
JRGould commented Feb 15, 2018

Requests can accept a filename option which is helpful if you're just downloading some data, but if you need to process that data before saving it, it would be helpful to be able to pass the file handle directly instead of just the filename.

janbartel
janbartel commented Nov 14, 2019

10.0.x

The profile for alt-formats is broken on jetty-10.0.x. Here's the stacktrace:

Downloaded from central: https://repo.maven.apache.org/maven2/org/jruby/jruby-complete/1.7.27/jruby-complete-1.7.27.jar (25 MB at 1.3 MB/s)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.util.io.ChannelDescriptor (file:/home/janb/.m2/rep

shaicoleman
shaicoleman commented Sep 10, 2019
HTTP.get(nil)
HTTP::Request::UnsupportedSchemeError (unknown scheme: )

HTTP.get('')
HTTP::Request::UnsupportedSchemeError (unknown scheme: )

HTTP.get('/')
HTTP::Request::UnsupportedSchemeError (unknown scheme: )

HTTP.get(':')
Addressable::URI::InvalidURIError (Cannot assemble URI string with ambiguous path: ':')

Ideally it should return InvalidURI exceptions if the URL is

bkdotcom
bkdotcom commented Jun 6, 2019

What is the expected behavior?

getCookie() : expect arg to accept a decoded name
expect the return value to be decoded

getCookies() expect decoded names/values

responseCookies public property : expect decoded names/values

What is the actual behavior?

must pass an encoded name to getCookie() and it returns a raw/encoded value

What steps will reproduce the pro

armeria
imasahiro
imasahiro commented Oct 3, 2019

Currently, we sort the micrometer tags at MeterIdPrefix to create Meter ID stably.
https://github.com/line/armeria/blob/master/core/src/main/java/com/linecorp/armeria/common/metric/MeterIdPrefix.java#L95-L101

Since I saw this stacktrace from our service’s flamegraph, I would like to consider whether it is avoidable or not. Since it doesn’t have many samples, we can be ignored but because it i

Luro02
Luro02 commented Nov 7, 2019

The documentation suggests, that the client should be reused and most people will do this

Arc::new(Client::new());

but this is kinda pointless, because there is already an internal Arc.

So maybe this should be mentioned in the docs?

marcomorain
marcomorain commented Apr 5, 2019

Thank you for HTTP, and thank you for the recent additions of the logging and event logging system - they were very easy to use, and very helpful. 💯

https://github.com/http-kit/http-kit/blob/495219c40f86488351c6cc604df155a7a5b1a065/src/java/org/httpkit/server/RingHandler.java#L236-L238

I've been investigating a problem in my system where requests are being sent to a server that is being s

Daenyth
Daenyth commented Dec 5, 2019

The documentation site recommends starting with blaze-client and it doesn't mention anything else.

I wasn't able to find on the doc site any index of the client/server implementations we have.

The page right now is something like

Headers

Version number table

I'd suggest we add in below the version table a section on clients, servers, and compatibility libraries, and then l

Cohen-Carlisle
Cohen-Carlisle commented Jan 16, 2017

Getting {:error, %HTTPoison.Error{id: nil, reason: :timeout}} in about 6 seconds with my options set as [timeout: 30_000]. After much digging and confusion, it seems that the timeout is stemming from recv_timeout being too low. I found this confusing for 2 reasons:

  1. reason: :timeout is reported, which suggests that the timeout is the appropriate option to adjust.
  2. The docs around

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

You can’t perform that action at this time.