Address comments on Gzip implementation
- don't mutate PATH_INFO in env, test - test fallback content type matches Rack::File - change assertion style - make HTTP_ACCEPT_ENCODING comparison case insensitive - return gzip path from method instead of true/false so we don't have to assume later - don't allocate un-needed hash. Original comments: https://github.com/rails/rails/commit/ cfaaacd9#commitcomment-7468728 cc @jeremy
Showing
此差异已折叠。
文件已添加
此差异已折叠。
文件已添加
想要评论请 注册 或 登录