Merge pull request #70 from booqable/fix/delete-requests

Fix DELETE requests
This commit is contained in:
James Hu 2023-03-02 07:34:51 -08:00 committed by GitHub
commit 6c814bfd88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,9 +65,9 @@ module ReverseProxy
&& source_request.body
source_request.body.rewind
target_request.body_stream = source_request.body
target_request.content_length = source_request.content_length || 0
end
target_request.content_length = source_request.content_length || 0
target_request.content_type = source_request.content_type if source_request.content_type
# Hold the response here