← Back to team overview

winterize-users team mailing list archive

Two new blueprints

 

Two new blueprints were added. The wiki will support content negotiation to allow clients to speak various formats for the data (for requests the client sends the Accept: header, for post and put the client sends the Content-type: header). It will also comply with REST, and be web-browseable using HATEOAS.

content-negotiation:

* Media types: http://www.xml.com/pub/a/2005/06/08/restful.html
* mimeparse (see "python-mimeparse" in Ubuntu 12.10): http://code.google.com/p/mimeparse/
* mimerender (uses mimeparse): https://github.com/martinblech/mimerender
* Accept, Accept-Charset, Accept-Encoding, Accept-Language: http://tools.ietf.org/html/rfc2616#section-14.1

rest-compliance:

* About REST and Python: http://www.slideshare.net/juokaz/restful-web-services-with-python-dynamic-languages-conference
* About HATEOAS: http://en.wikipedia.org/wiki/HATEOAS