diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2012-11-21 00:54:01 +0000 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-11-21 00:54:01 +0000 |
commit | ab5ac3b095acc5051a7e8088a301afd9704fc6fd (patch) | |
tree | a637a689cd65da8c9945f8d8473c287d1f94d1a3 /src/http/ngx_http_variables.c | |
parent | d228cf3638eec3cb44023c506bebb9cfb7372fe9 (diff) | |
download | nginx-ab5ac3b095acc5051a7e8088a301afd9704fc6fd.tar.gz nginx-ab5ac3b095acc5051a7e8088a301afd9704fc6fd.zip |
Request body: fixed "501 Not Implemented" error handling.
It is not about "Method" but a generic message, and is expected to be used
e.g. if specified Transfer-Encoding is not supported. Fixed message to
match RFC 2616.
Additionally, disable keepalive on such errors as we won't be able to read
request body correctly if we don't understand Transfer-Encoding used.
Diffstat (limited to 'src/http/ngx_http_variables.c')
0 files changed, 0 insertions, 0 deletions