Permalink
Browse files

response X-Awesome-Fetch for debug

  • Loading branch information...
sorah committed Oct 22, 2017
1 parent 682e4db commit 48bb065263bb1d0599f7c8568532ab87fdbd7266
Showing with 2 additions and 0 deletions.
  1. +2 −0 isubata/webapp/ruby/app.rb
@@ -266,7 +266,9 @@ def user
end
unless request.env['HTTP_X_AWESOME_PROXY']
response.headers['X-Awesome-Fetch'] = 'on'
unless session.delete(:bakusoku)
response.headers['X-Awesome-Fetch'] = 'waited'
AwesomeFetch.instance.wait
end
end

0 comments on commit 48bb065

Please sign in to comment.