Skip to content

Commit

Permalink
remove depwarn for headers kw arg
Browse files Browse the repository at this point in the history
  • Loading branch information
samoconnor committed Jan 18, 2018
1 parent 6bc739f commit 96fc3b6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,6 @@ function request(client::Client, method, url::URI;
setkv(newargs, :bodylength, length(body))
end

if body != ""
Base.depwarn(
"The body= option is deprecated. Use request(method, uri, headers, body)",
:body)
end

if !enablechunked && isa(body, IO)
body = read(body)
end
Expand Down

0 comments on commit 96fc3b6

Please sign in to comment.