Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
XHR Req without Accept and Content-Type header gets 500 error #2119
When actionpack receives an http request with the header
The problem is generated because in the scenario just described
To reproduce the bug you can use curl
I wrote a simple test to add to test/dispatch/request_test.rb