We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf44afb commit 2db81aeCopy full SHA for 2db81ae
src/clientlayers/MessageRequest.jl
@@ -13,7 +13,7 @@ Construct a [`Request`](@ref) object from method, url, headers, and body.
13
Hard-coded as the first layer in the request pipeline.
14
"""
15
function messagelayer(handler)
16
- return function(method::String, url::URI, headers::Headers, body; response_stream=nothing, http_version=HTTPVersion(1,1), kw...)
+ return function(method::String, url::URI, headers::Headers, body; response_stream=nothing, http_version=HTTPVersion(1, 1), kw...)
17
req = Request(method, resource(url), headers, body; url=url, version=http_version, responsebody=response_stream)
18
return handler(req; response_stream=response_stream, kw...)
19
end
0 commit comments