You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anand Jain 1 hour ago
is there a reason that HTTP.request(::HTTP.Request) isn’t defined? (i know nothing about http)
Jacob Quinn 3 minutes ago
The only difficulty is that HTTP.request may make a few modifications to the HTTP.Request in the process; so maybe it would have to be HTTP.request! for clarity?
Jacob Quinn 2 minutes ago
Until recently, there was actually a decent amount of work done prior to making the actual HTTP.Request object, mainly due to just historical code bitrot. But w/ the 1.0 release, a lot of that was cleaned up and now it’s basically the first step when making a request, so much more doable now.
The text was updated successfully, but these errors were encountered:
HTTP.request may make a few modifications to the HTTP.Request in the process
It might be nice to have a functional-style API with immutable types
send::Request->SentRequest
or something like that. That way I can reuse the same request and transform it using Accessors.jl without having to think about what modifications request! would make.
Anand Jain
1 hour ago
is there a reason that HTTP.request(::HTTP.Request) isn’t defined? (i know nothing about http)
Jacob Quinn
3 minutes ago
The only difficulty is that HTTP.request may make a few modifications to the HTTP.Request in the process; so maybe it would have to be HTTP.request! for clarity?
Jacob Quinn
2 minutes ago
Until recently, there was actually a decent amount of work done prior to making the actual HTTP.Request object, mainly due to just historical code bitrot. But w/ the 1.0 release, a lot of that was cleaned up and now it’s basically the first step when making a request, so much more doable now.
The text was updated successfully, but these errors were encountered: