Merge pull request #70 from booqable/fix/delete-requests
Fix DELETE requests
This commit is contained in:
commit
6c814bfd88
|
@ -65,9 +65,9 @@ module ReverseProxy
|
||||||
&& source_request.body
|
&& source_request.body
|
||||||
source_request.body.rewind
|
source_request.body.rewind
|
||||||
target_request.body_stream = source_request.body
|
target_request.body_stream = source_request.body
|
||||||
|
target_request.content_length = source_request.content_length || 0
|
||||||
end
|
end
|
||||||
|
|
||||||
target_request.content_length = source_request.content_length || 0
|
|
||||||
target_request.content_type = source_request.content_type if source_request.content_type
|
target_request.content_type = source_request.content_type if source_request.content_type
|
||||||
|
|
||||||
# Hold the response here
|
# Hold the response here
|
||||||
|
|
Loading…
Reference in New Issue