Skip to content

WSF_POST_HELPER does not support non-RESTful POSTs #134

@colin-adams

Description

@colin-adams

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).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions