I see the same thing.
, HTTP (200 OK), (304, " ". )
304 , , . GET ( ?) . , , , .
, , CTRL-F5 ( Firefox), " ". , GET .
, , , ( ruby-debug).
def call(env)
status, headers, response = @app.call(env)
debugger
if headers["Content-Type"].include?("text/html")
[status, headers, "<!--hello world! -->" + response.body]
else
[status, headers, response]
end
end
rail server:
(rdb:1) irb
irb(#<PostRedirect:0x7f9c6292a530>):001:0> status
=> 304
, :
if (status != 304) && headers["Content-Type"].include?("text/html")