Displaying 2 results from an estimated 2 matches for "if_modified_sinc".
Did you mean:
if_modified_since
2006 Jul 28
2
s/IF_UNMODIFIED_SINCE/IF_MODIFIED_SINCE/ ???
I''ve noticed in the source code that Mongrel handles the
IF_UNMODIFIED_SINCE header. I thought this rather odd, since
IF_UNMODIFIED_SINCE is generally only useful with PUT. Even more odd
is that there is no mention of IF_MODIFIED_SINCE in Mongrel which is
useful with GET (although not as useful as IF_NONE_MATCH of course).
Is this a bug in Mongrel?
-Tim
2008 Jun 12
1
setting request headers via get()
...b2c2521a58b3ad52da3
Note that get(), fetch_page() and set_headers() all now have the ability to
accept a hash of arguments as a parameter, allowing us to "stuff" extra
parameters into each one while maintaining backwards compatibility (see
tests).
Special headers specified by :etag and :if_modified_since are recognized,
for whatever that''s worth.
I realize this is kind of a fundamental change for such a simple feature,
but it looks like there are some API changes planned for 0.8.0 anyway, so I
figured I''d throw this out there and start a conversation about it.
Also, (because so...