wandenberg / nginx-push-stream-module

A pure stream http push technology for your Nginx setup. Comet made easy and really scalable.
Other
2.22k stars 295 forks source link

Reply with "201 Created" status when publishing + patch #98

Open yirkha opened 11 years ago

yirkha commented 11 years ago

From HTTP/1.1 RFC2616: "If a resource has been created on the origin server, the response SHOULD be 201 (Created)." This also seems to be a common behavior on REST interfaces, and the original ngx_http_push_module did this.

A patch is available here: https://gist.github.com/yirkha/6354891