Skip to content

Instantly share code, notes, and snippets.

@dawehner
Forked from neclimdul/conneg-test-cases.md
Last active August 29, 2015 14:16
Show Gist options
  • Save dawehner/0995d99eb53fdb921b1e to your computer and use it in GitHub Desktop.
Save dawehner/0995d99eb53fdb921b1e to your computer and use it in GitHub Desktop.
  • rss.xml - single purpose path responding with a content type
  • node/1.json - multipurpose path with an extension denoting content type.
  • myalias.json - an alias with and extension.
  • admin/foo/example.plugin_id - An arbitrary path containing some placeholder
  • rest/node/1 - a non-web endpoint doing full conneg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment