Skip to content

Commit

Permalink
add content-length for PATCH requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitrii 'Mamut' Dimandt authored and Andrei Neculau committed Jun 25, 2013
1 parent 801c902 commit 8565441
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lhttpc_lib.erl
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@ add_content_headers("POST", Hdrs, Body, PartialUpload) ->
add_content_headers(Hdrs, Body, PartialUpload);
add_content_headers("PUT", Hdrs, Body, PartialUpload) ->
add_content_headers(Hdrs, Body, PartialUpload);
add_content_headers("PATCH", Hdrs, Body, PartialUpload) ->
add_content_headers(Hdrs, Body, PartialUpload);
add_content_headers(_, Hdrs, _, _PartialUpload) ->
Hdrs.

Expand Down

0 comments on commit 8565441

Please sign in to comment.