dont require format parameter #5

bazo opened this Issue Mar 25, 2013 · 2 comments


None yet
2 participants

bazo commented Mar 25, 2013

The enforced requirement of a request in this form is not a correct REST behaviour:


the format should not be a part of the resource name

correctly it should be optional, defaulting to json, then it would be written like this:


is there any reason why a format should be specified?


newPOPE commented Mar 31, 2013

sure, you are right in enforced format in the path.

correct behaviour is:

  1. in the HTTP header Accept application/json or application/xml.
  2. in the URL .json or in the query string ...&format=json
  3. some default json

I don't remember why I chose that way.


newPOPE commented Mar 31, 2013

It should be fixed in 339667a

@newPOPE newPOPE closed this Mar 31, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment