New answers tagged

0

Well, lets not mix concepts. In one side... MVC is a software architectural pattern. It can be applied to Desktop apps aswell, where HTTP is not necessarily involved. In the other side... HTTP is a comunication protocol. Like wikipedia say: is an application protocol for distributed, collaborative, hypermedia information systems So, you are asking ...


1

The obvious alternative to all this -- which functions, but defeats one purpose of status codes -- would be to always include the metadata: This is the correct way to go. The state a resources is in with regard to domain specific log (aka business logic) is a matter for the content type of the resource's representation. There are two difference ...


1

HTTP Status Code for Resource not yet available suggests returning a 409 conflict response, rather than a 404 response, in the case that a resource doesn't exist because it is in the middle of being generated. From the w3 spec: 10.4.10 409 Conflict The request could not be completed due to a conflict with the current state of the resource. This ...


16

HTTP 202 Accepted (HTTP/1.1) You are looking for HTTP 202 Accepted status. See RFC 2616: The request has been accepted for processing, but the processing has not been completed. HTTP 102 Processing (WebDAV) RFC 2518 suggests using HTTP 102 Processing: The 102 (Processing) status code is an interim response used to inform the client that the ...



Top 50 recent answers are included