Sam Smith <[EMAIL PROTECTED]> writes:

> Which is great for a browser looking to play an individual
> show. And a complete pain for a script wanting to find all
> shows in all possible formats from multiple providers.

It's standard REST.


> Doing it in HTTP headers limits you to what you know at
> fetch time, which could be far less than what you know at
> run time if you're not in a desktop browser environment.
>
>
> most of the stuff I run, which could find this useful, uses
> a very simple fetcher and caches everything on disc for
> postprocessing along with other requests. Using HTTP alone
> means that that isn't possible.

So? Cache the MIME information as well.

When I do this I cache the entire entity. Then the processing routines
are the same whether you download off the filesystem or off the
disc. Python's http library, for example, does that easily.

But you can also just use a standard http library and a caching proxy
server like polipo.

In other words: the interfaces are always the same and the information
is always consistent.


Nic
-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/[email protected]/

Reply via email to