Fix DELETE requests

This commit is contained in:
Arjen Oosterkamp 2023-03-02 09:05:17 +01:00 committed by GitHub
parent c8294a03dc
commit 1c84556edd
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