-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
Description
The use of POST on an existing resource (such as when POST is used as a GET), although not RESTful, is allowed by HTTP/1.1 ("The action performed by the POST method might not result in a resource that can be identified by a URI. In this case, either 200 (OK) or 204 (No Content) is the appropriate response status, depending on whether or not the response includes an entity that describes the result.")
Send_response in this class is not fully supportive anyway (see comment), but it ought to check if a_new_resource is False, and call a different routine (other than append_resource, which is not appropriate in these circumstances).