Skip to content

Commit

Permalink
Merge pull request esl#29 from andreineculau/add-content-length-to-patch
Browse files Browse the repository at this point in the history
add content-length for PATCH requests
  • Loading branch information
dcorbacho committed Jul 3, 2013
2 parents a386770 + 8565441 commit 3c7fdee
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 3c7fdee

Please sign in to comment.