Created
March 3, 2011 18:05
-
-
Save kriszyp/853195 to your computer and use it in GitHub Desktop.
Server response of the future?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 200 OK | |
Content-Type: application/foo+json; # Web applications typically do and should use JSON as the semantic data source | |
# If your mobile device has an app for "application/foo+json", auto-launch app to handle resource | |
Link: <http://foo.com/ui.html>; rel="renderer" # HTML page to use to renderer it | |
Link: <http://foo.com/ui.ipa>; rel="ios.renderer" # Recommended device-specific app for this resource | |
Link: <http://foo.com/schema>; rel="describedby" # schema describing the JSON structure so that search engines can crawl it | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment