Date: 02/12/08 (Code WTF) Keywords: html http://www.riceonfire.org/emiller/nginx-modules-guide.html
If you're still not convinced, take a look at this code snippet from Nginx's HTTP parser:
if (m[1] == 'O') {
if (m[0] == 'P' && m[2] == 'S' && m[3] == 'T') {
r->method = NGX_HTTP_POST;
break;
}
if (m[0] == 'C' && m[2] == 'P' && m[3] == 'Y') {
r->method = NGX_HTTP_COPY;
break;
}
via xplozive
Source: http://community.livejournal.com/code_wtf/121902.html
|