http-client
Here are 1,156 public repositories matching this topic...
In = syntax,
- double quotes (
") - back slashes (
\) - non-ascii characters
$ http -v httpbin.org/post \
dquote='\"' \
multi-line='line 1\nline 2' 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
the example in docs about how to import the module:
Vue.use(require('vue-resource'))
but in source code, the moudle export like:
export default plugin
so actually we should use the module like:
Vue.use(require('vue-resource').default)
What is Expected?
May be the docs should be updated?
[docs](https://github.com/pagekit/vue-resource/blob/develop/docs
Long story short
Regression of #1188
Expected behaviour
Tests pass on armv7l
Actual behaviour
Test run fails at test_cookiejar.py:383: OverflowError
Steps to reproduce
Run tests
Your environment
linux 4.19
nixos 20.03
arm v7l
python 3.7
aiohttp client-3.6.2
Log
ts_before = datetime.datetime(
1975, 1, 1, tzinfo=datetim
Thanks for this awesome software.
I can now make HTTP request very easily.
But sometimes, I have to use an editor and other software to make requests with complicated body.
I use a simple script like this;
#!/usr/bin/zsh
# command name: httpj
TMPFILE=$(mktemp --suffix=.json)
vim $TMPFILE
http "$@" < $TMPFILE
rm $TMPFILE;
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
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
"
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.
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
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
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
It might be useful to rewrite some of the composed operations in terms of async_compose. We should do one of them to compare the differences. If anything, it will help take advantage of upstream asio changes such as the nested executor_type on the initiation object.
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
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?
The documentation of the timeout module says:
If your goal is to cut off any request after a set amount of wall clock time, consider having a second “watcher” thread to cut off a slow request.
How would that work?
It seems like it is [strongly discouraged or even impossible](https://sta
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.
I've been investigating a problem in my system where requests are being sent to a server that is being s
Hi!
The example on the page https://grablab.org/docs/spider/error_handling.html refers to the method valid_response_code:
class SomeSpider(Spider):
def valid_response_code(self, code, task):
return code in (200, 301, 302)But in the code, the is_valid_network_response_code method is responsi
Swagger supports adding examples along with spec: https://swagger.io/docs/specification/2-0/adding-examples/
We can add support to use swagger file as an input to vscode-restclient. This will save developers from maintaining 2 separate files for documenting REST APIs, swagger.yaml and restclient.http
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
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:
reason: :timeoutis reported, which suggests that thetimeoutis the appropriate option to adjust.- The docs around
Server framework and network components written by C/C++ for Linux, Mac, FreeBSD, Solaris(x86), Windows, Android, IOS
-
Updated
Jan 22, 2020 - C
Improve this page
Add a description, image, and links to the http-client topic page so that developers can more easily learn about it.
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."
Section/Content To Improve
Section "Config order of precedence".
Suggested Improvement
The current implementation of