# If-Unmodified-Since

**URL:** <https://www.ruby-forum.com/t/if-unmodified-since/199962>\
**Category:** NGINX\
**Created:** [December 2, 2010, 1:57am UTC](https://www.ruby-forum.com/t/if-unmodified-since/199962 "2010-12-02T01:57:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [December 2, 2010, 1:57am UTC](https://www.ruby-forum.com/t/if-unmodified-since/199962/1 "2010-12-02T01:57:18Z")

</div>

It appears from documentation and Googling that nginx supports the  
If-Modified-Since header but not the If-Unmodified-Since header; are  
there any plans to add support?

Thanks,  
Jeff

---

<div class="post-metadata">

**Author:** ![sithadmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Post date:** [December 2, 2010, 1:29pm UTC](https://www.ruby-forum.com/t/if-unmodified-since/199962/2 "2010-12-02T13:29:51Z")

</div>

On Wed, Dec 01, 2010 at 07:56:56PM -0500, Jeff M. wrote:

> It appears from documentation and Googling that nginx supports the  
> If-Modified-Since header but not the If-Unmodified-Since header; are  
> there any plans to add support?

nginx does not support If-Unmodified-Since.  
I believe it’s easy to add it, but are clients which support the header  
?

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**

---

<div class="post-metadata">

**Author:** ![sithadmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Post date:** [December 2, 2010, 1:48pm UTC](https://www.ruby-forum.com/t/if-unmodified-since/199962/3 "2010-12-02T13:48:09Z")

</div>

On 12/02/2010 07:28 AM, Igor S. wrote:

> On Wed, Dec 01, 2010 at 07:56:56PM -0500, Jeff M. wrote:
> 
> > It appears from documentation and Googling that nginx supports the  
> > If-Modified-Since header but not the If-Unmodified-Since header; are  
> > there any plans to add support?
> 
> nginx does not support If-Unmodified-Since.  
> I believe it’s easy to add it, but are clients which support the header ?

I don’t know an exhaustive list, but I do know that cURL supports it,  
which means any program using it for downloads (lots) or using libcurl  
(lots) support it. urlib4 supports it as well. I believe wget does too.

I would guess most dedicated downloaders/download accelerators also  
support it.

Thanks,  
Jeff

---

<div class="post-metadata">

**Author:** ![sithadmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Post date:** [December 2, 2010, 3:44pm UTC](https://www.ruby-forum.com/t/if-unmodified-since/199962/4 "2010-12-02T15:44:55Z")

</div>

On Thu, Dec 02, 2010 at 03:28:27PM +0300, Igor S. wrote:

> On Wed, Dec 01, 2010 at 07:56:56PM -0500, Jeff M. wrote:
> 
> > It appears from documentation and Googling that nginx supports the  
> > If-Modified-Since header but not the If-Unmodified-Since header; are  
> > there any plans to add support?
> 
> nginx does not support If-Unmodified-Since.  
> I believe it’s easy to add it, but are clients which support the header ?

The attached patch adds If-Unmodified-Since support.

---

<div class="post-metadata">

**Author:** ![sithadmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Post date:** [December 2, 2010, 5:53pm UTC](https://www.ruby-forum.com/t/if-unmodified-since/199962/5 "2010-12-02T17:53:35Z")

</div>

On 12/2/2010 9:43 AM, Igor S. wrote:

> The attached patch adds If-Unmodified-Since support.

Cool!

Any chance we’ll see an official 0.8.54 release with this applied?

Thanks,  
Jeff

---

<div class="post-metadata">

**Author:** ![sithadmin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Post date:** [December 2, 2010, 6:23pm UTC](https://www.ruby-forum.com/t/if-unmodified-since/199962/6 "2010-12-02T18:23:45Z")

</div>

On Thu, Dec 02, 2010 at 11:52:20AM -0500, Jeff M. wrote:

> > > I believe it’s easy to add it, but are clients which support the header ?
> > 
> > The attached patch adds If-Unmodified-Since support.
> 
> Cool!
> 
> Any chance we’ll see an official 0.8.54 release with this applied?

It will be in the next 0.9.2, and then probably on December 13 or 20 in  
0.8.54.

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**
