1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/lib
Ryan Tomayko ce4cf34e77 entity_tag response helper / conditional GET support
ResponseHelpers#entity_tag sets the ETag response header and
(potentially) halts execution if an If-None-Match request header
is present matches the value given.

More information on HTTP's ETag header and conditional requests
available in RFC 2616:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19
2008-04-13 06:12:19 -04:00
..
sinatra/test err. 2008-04-11 14:09:23 -07:00
sinatra.rb entity_tag response helper / conditional GET support 2008-04-13 06:12:19 -04:00