Nginx rejects custom HTTP Methods if not all upper-case -
if http method not upper-case, nginx rejects request , sends 400 response along internal 400 html error page.
no details shown on "error_log info"
example: link, link, search, verb, etc ... upper-case versions of work, jut mixed case.
from http 1.1 rfc;
the method token indicates method performed on resource identified request-uri. the method case-sensitive.
as far can tell, nginx doing right thing according specification. if disagree, you'll have explain think it's doing wrong more clearly.
edit: yes, agree answer @julianreschke, should return 501 status code, not 400, catch.
Comments
Post a Comment