• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CFNetwork isn't sending If-None-Match: headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFNetwork isn't sending If-None-Match: headers


  • Subject: Re: CFNetwork isn't sending If-None-Match: headers
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 21 Oct 2008 12:03:41 -0700


On Oct 21, 2008, at 11:18 AM, Mark Pauley wrote:

We've been aware of this.  Currently there is no true workaround for this, you'll just have to be somewhat patient.

FYI, I found out through other sources that there may be a partial fix for this in the latest WebKit builds — although this will only affect WebKit's second-level in-memory cache, so the problem can still occur with resources that haven't been accessed in this session.

Hopefully this will make it into the next Safari dot-dot update...

Could you toss a cookie in the mix that works like an ETag?  Do we send cookies for the HEAD requests? I forget, but you should be able to easily find out?  If so, you might be able to stash a long-lived cookie that also maps to the user view settings and mod-date you set (for verification purposes).  It won't be as good as an ETag, but it might get you 80% of the way there.

Using a cookie for this is a clever idea I hadn't thought of. I have no idea how the cookie/session handling for this code works, but I can dig in a find out. Thanks!

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >CFNetwork isn't sending If-None-Match: headers (From: Jens Alfke <email@hidden>)
 >Re: CFNetwork isn't sending If-None-Match: headers (From: Mark Pauley <email@hidden>)

  • Prev by Date: Re: CFNetwork isn't sending If-None-Match: headers
  • Next by Date: Detecting network change
  • Previous by thread: Re: CFNetwork isn't sending If-None-Match: headers
  • Next by thread: Detecting network change
  • Index(es):
    • Date
    • Thread