radarphp / Radar.Adr

The Action-Domain-Responder core for Radar.
MIT License
55 stars 7 forks source link

Added methods for payloads from Aura.Payload #19

Closed aretecode closed 8 years ago

aretecode commented 9 years ago

https://github.com/auraphp/Aura.Payload/blob/3.x/src/Payload.php

pmjones commented 8 years ago

Thanks for the work here. However, it looks like the codes are not appropriate; e.g., 304 is only to be used as the result of a conditional GET request, and a not-updated might be due to an error, not a conflict. In short, the Payload status codes do not necessarily map 1:1 with HTTP status code.