everest.views.postcollection

Post collection view.

class everest.views.postcollection.PostCollectionView(resource, request)[source]

Bases: everest.views.base.PutOrPostResourceView

View for POST requests on collection resources.

The client POSTs a representation of the member to the URI of the collection. If the new member resource was created successfully, the server responds with a status code of 201 and a Location header that contains the IRI of the newly created resource and a representation of it in the body of the response.

See http://bitworking.org/projects/atom/rfc5023.html#post-to-create

Project Versions

Previous topic

everest.views.interfaces

Next topic

everest.views.putmember

This Page