Skip to content

Commit

Permalink
Update src/clientlayers/MessageRequest.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrobinson251 authored Nov 1, 2022
1 parent 411f616 commit 51e85ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clientlayers/MessageRequest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Construct a [`Request`](@ref) object from method, url, headers, and body.
Hard-coded as the first layer in the request pipeline.
"""
function messagelayer(handler)
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...)
req = Request(method, resource(url), headers, body; url=url, version=http_version, responsebody=response_stream)
return handler(req; response_stream=response_stream, kw...)
end
Expand Down

0 comments on commit 51e85ad

Please sign in to comment.