Class: Fangorn::NoCacheFileHandler
- Inherits:
-
WEBrick::HTTPServlet::FileHandler
- Object
- WEBrick::HTTPServlet::FileHandler
- Fangorn::NoCacheFileHandler
- Defined in:
- lib/fangorn/app.rb
Instance Method Summary collapse
Instance Method Details
#do_GET(req, res) ⇒ Object
115 116 117 118 |
# File 'lib/fangorn/app.rb', line 115 def do_GET(req, res) super res['Cache-Control'] = 'no-cache' end |