HTTP.jl icon indicating copy to clipboard operation
HTTP.jl copied to clipboard

HTTP for Julia

Results 142 HTTP.jl issues
Sort by recently updated
recently updated
newest added

There is slightly better error handling in this function, which avoids relying as directly on implementation details of IOBuffer

I am sort of uncertain why this bodysummary is everything in the file before the content that is being sent. Shouldn't the `seekstart(data)` be deleted here and read to the...

```julia # Servers.jl function listenloop(f, listener, conns, tcpisvalid, max_connections, readtimeout, access_log, ready_to_accept, verbose) sem = Base.Semaphore(max_connections) ... while isopen(listener) try Base.acquire(sem) io = accept(listener) if io === nothing @warnv 1...

On HTTP.jl v1.10.1, ```julia julia> HTTP.get("http://localhost:31337"; nonsense=1) ERROR: HTTP.ConnectError for url = `http://localhost:31337`: IOError: connect: connection refused (ECONNREFUSED) Stacktrace: [1] getconnection(::Type{…}, host::SubString{…}, port::SubString{…}; keepalive::Bool, readtimeout::Int64, kw::@Kwargs{…}) ``` This should be...

By default, `HTTP.WebSockets` uses a TCP socket configuration that is rather slow: - In the default setting, `HTTP.WebSockets` takes about 0.04s to respond to a request from a python [websockets](https://websockets.readthedocs.io/en/stable/)...

In https://github.com/JuliaWeb/HTTP.jl/pull/1110 we switched `isrecoverable(::Exception)` to be opt-in instead of opt-out, and we tried to include the exceptions we historically retried in older versions of HTTP. We didn't include `TimeoutExceptions`...

Please specify the following versions when submitting a bug report: - Julia 1.10.0-rc2 - HTTP.jl 1.10.1 - MbedTLS.jl 1.1.9 Is there a way to explicitly close all connections, including the...

Hello, when I try to run this code I get the following error: `res = HTTP.request(requestType,url , ["Content-Type" => "application/json", "Accept"=>"application/json", "AstroIdentity" => autKey ], body)' It is working with...

(Note: if you're using your own `streamhandler`, you're on your own) fixes: https://github.com/JuliaWeb/HTTP.jl/issues/1112 with this fix, 3 connections fly over the same connection with cURL ``` curl -Ivvvvvvvvvvvvvvvv http://localhost:1234 http://localhost:1234...

This works fine (note the header): ```julia HTTP.request( "POST", "http://localhost:8081", Dict("Authorization" => "Bearer as7das876das"), HTTP.Form(["files" => open("/dev/random", "r")]), response_stream=devnull, ) ``` However this throws a MethodError: ```julia HTTP.request( "POST", "http://localhost:8081",...