stackp/promisejs — pull request #7 by posativ (2012-10-26 09:26:15+00:00)
Title: return always ajax status and content

When I build REST applications I often use HTTP status codes as
semantic parameter, e.g. 201 for a created object that I will
return as json. This is completely valid HTTP/1.1 [1].

[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html