-
Notifications
You must be signed in to change notification settings - Fork 6
How to fetch a resource from within a PWP? #9
Comments
This may be a purely server setup issue that may not require any specification on the PWP side |
See https://www.w3.org/2016/03/09-dpub-loc-minutes.html#item07, depends on #16 |
Proposal: If a resource within a PWP is requested (e.g., |
Algorithmically, this is indeed viable. I am not sure that it is realistic to have it set up that way; there are many resources in a package, and setting up the server accordingly is a non-trivial challenge for the publisher. |
Given the discussion on the previous call, I propose to just remove section http://w3c.github.io/dpub-pwp-loc/#resources: if the server cannot return a requested resource, it returns a 404. That's basic Web stuff, and we shouldn't ask anything more at this moment. |
Given a situation where a PWP is only published packed, e.g., once zipped and once tarred, and a resource is requested, the question is how does this resource get to the end-user.
Proposal: This depends on the configuration of the server. If the server has the implemented functionality to unpack the PWP server-side, it could return the resource immediately. However, if the server can only return the entire package, the PWP processor can see (based on the returned content type) what kind of package is returned when an individual resource is requested, unpack P client-side, and return the resource of the local unpacked P to the reading system.
The text was updated successfully, but these errors were encountered: