Re: [dpub-loc] 20160217 minutes

> On 18 Feb 2016, at 18:33, Leonard Rosenthol <lrosenth@adobe.com> wrote:
> 
> But a dumb server would never return such a payload – it doesn’t know how to do that!  

I never said that payload would be dynamically generated. Think of a static HTML file with link elements. Or a static JSON document.
If the user uploads these on a static file hosting service, the server will absolutely know how to return them!


> Remember, a dumb server is one that cannot be configured in any way – it only works with what it gets “out of the box”.  If you can configure it in any way, then it’s smart.
> 
> Given a dumb server (domain.com, in Daniel’s example) and the following URLs from Dan’s example:
> "packed": "https://domain.com/path/to/book1.pwp",
> "unpacked”: "https://domain.com/another/path/to/book1/"
> 
> Then referencing the packed URL will return the full data of the PWP in whatever format that ends up (eg. ZIP).

Yes.

>  Referencing the unpacked URL will either return a catalog of the directory or an error – depending on the configuration of the server.

Yes, or a default document (like 'index.html')

> In NEITHER case will you get an HTML doc or a JSON doc.

No, but if you upload a static doc (JSON or HTML) at the canonical URL, then the server will return it accordingly.

Romain.

> 
> Leonard
> 
> From:  Romain <rdeltour@gmail.com <mailto:rdeltour@gmail.com>>
> Date: Thursday, February 18, 2016 at 10:29 AM
> To: Leonard Rosenthol <lrosenth@adobe.com <mailto:lrosenth@adobe.com>>
> Cc: Daniel Weck <daniel.weck@gmail.com <mailto:daniel.weck@gmail.com>>, "DPUB mailing list (public-digipub-ig@w3.org <mailto:public-digipub-ig@w3.org>)" <public-digipub-ig@w3.org <mailto:public-digipub-ig@w3.org>>
> Subject: Re: [dpub-loc] 20160217 minutes
> 
> 
>> On 18 Feb 2016, at 13:39, Leonard Rosenthol <lrosenth@adobe.com <mailto:lrosenth@adobe.com>> wrote:
>> 
>> If you have a dumb server (eg. a static file hosting service) - how do you get the “explicit links in the GET answer”?
> 
> By having links in the payload, mostly. Be it an HTML doc with link elements, or a JSON doc (like in Daniel's example).
> 
> Romain.
> 

Received on Thursday, 18 February 2016 17:42:35 UTC