Dynamic/redirection resources

Registered by Luke-Jr on 2009-02-15

The resource repository server now accepts versions of "LATEST" as a special redirection to the latest version of a resource.
Along with the HTTP standard 307 response, it also includes a X-Target-Resource header. The game needs to be modified to treat further processing as if the filepath is the value herein. In particular, the XML attribute Version will match X-Target-Resource and not "LATEST". The content must also be cached under X-Target-Resource.

Since this opens the door to dynamically changing redirectors, the server will also recognise two custom request headers. If X-Please-Follow-Redirects is specified, then the server MAY respond with a custom "X-Content-Included: target-content" header. This indicates that the response content is the actual target resource, and following the redirect is not necessary. Since the client is apt to have a local cache of some version, the server also recognises a X-Please-Follow-Redirects-If-Modified-Since request header, modelled after the standard If-Modified-Since. In this case, the content WILL NOT be included unless the target resource is newer than the specified date.

Since 0.2.8 does not support these redirectors, we would also benefit from having the server send the value of X-Target-Resource to clients in settings when possible.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.