axsuul / rails-reverse-proxy

A reverse proxy for Ruby on Rails
MIT License
241 stars 61 forks source link

Fix DELETE requests #70

Closed Arjeno closed 1 year ago

Arjeno commented 1 year ago

I noticed that DELETE requests weren't properly proxied. They were simply timing out. The content_length is always set, even when the request doesn't accept a body. So this PR fixes this by setting the content_length only when a request body is permitted.

axsuul commented 1 year ago

Thanks, just released 0.12.0 which contains this 👍