• 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: Determining if a url exists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining if a url exists


  • Subject: Re: Determining if a url exists
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 6 Feb 2008 23:49:06 -0700


On Feb 6, 2008, at 10:47 PM, Matthew Delves wrote:
An app that I'm writing involves fetching of rss feeds. To get around caching I have been appending ?20080207 (or whatever the current date is) to the URL. Unfortunately some server's don't like this and will return a 404. Is there a way using cocoa to determine if a URL will return a 404?


Not without actually doing it, no. You could empty the cache prior to the fetch, though, by calling -[NSURLCache removeAllCachedResponses].

Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Determining if a url exists
      • From: Matthew Delves <email@hidden>
References: 
 >Determining if a url exists (From: Matthew Delves <email@hidden>)

  • Prev by Date: Re: Autocomplete word as you are typing
  • Next by Date: Re: Determining if a url exists
  • Previous by thread: Determining if a url exists
  • Next by thread: Re: Determining if a url exists
  • Index(es):
    • Date
    • Thread