This project is archived and is in readonly mode.
RackResponse 304 output not compatible with XMLHTTPRequest spec
-
Brian Johnson
Seems to also be a problem with CgiResponse. If I do something like this
render :text => "null", :status => :not_modified, :content_type => 'text/plain'
it still renders with an empty body and no content type
-
Pratik
- Assigned user set to josh
-
josh
- State changed from new to invalid
I think Rack is doing the correct thing, but I'm not entirely sure.
Anyway, this is something that needs to be fixed in Rack, not Rails. Please file a ticket on the Rack lighthouse. Assign the ticket to Ryan Tomayko, the HTTP caching expert.