Skip to content

Commit

Permalink
PATCH request should have body. Fixes #13
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan committed Nov 7, 2014
1 parent 88d07a5 commit 83b5c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http_logger.rb
Expand Up @@ -86,7 +86,7 @@ def log_request_headers(request)
end
end

HTTP_METHODS_WITH_BODY = Set.new(%w(POST PUT GET))
HTTP_METHODS_WITH_BODY = Set.new(%w(POST PUT GET PATCH))

def log_request_body(request)
if self.class.log_request_body
Expand Down

0 comments on commit 83b5c22

Please sign in to comment.