• 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: How to get remote metadata
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get remote metadata


  • Subject: Re: How to get remote metadata
  • From: email@hidden
  • Date: Mon, 28 Sep 2015 17:03:14 +0900

Pretty standardized on RFCs with a few oddballs that are known and you'll know if you need them.



Sent from my iPhone

> On Sep 28, 2015, at 2:43 PM, Gerriet M. Denkmann <email@hidden> wrote:
>
>
>> On 28 Sep 2015, at 00:31, Mike Abdullah <email@hidden> wrote:
>>
>>
>>> On 27 Sep 2015, at 18:08, Gerriet M. Denkmann <email@hidden> wrote:
>>>
>>> I want to get some metadata for a remote file.
>>>
>>> Just seen in small print: “This method applies only to URLs that represent file system resources.”
>>>
>>> So this is not expected to work. What else can I do?
>>
>> Probably the best thing to do is to use NSURLSession to send a HEAD request to the server, and pick the information you want out of the response headers.
>
> Excellent. Just what I needed. Thanks a lot!
>
> One question though:
> The NSHTTPURLResponse allHeaderFields dictionary contains keys like: “Content-Length” and “Last-Modified”.
> Are these standardized or might other sites use other keys like “Modification-Date” or “Nbr-of-Bytes” ?
>
> Kind regards,
>
> Gerriet.
>
>
> _______________________________________________
>
> 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

_______________________________________________

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


References: 
 >How to get remote metadata (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: How to get remote metadata (From: Mike Abdullah <email@hidden>)
 >Re: How to get remote metadata (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: How to get remote metadata
  • Next by Date: Re: Drawing many different strings quickly
  • Previous by thread: Re: How to get remote metadata
  • Next by thread: Re: How to get remote metadata
  • Index(es):
    • Date
    • Thread