Skip to content

Instantly share code, notes, and snippets.

@neclimdul
Created March 5, 2015 17:45
Show Gist options
  • Save neclimdul/095b2f7045ddad0b1edd to your computer and use it in GitHub Desktop.
Save neclimdul/095b2f7045ddad0b1edd to your computer and use it in GitHub Desktop.
conneg test cases
  • 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.
  • 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