Welcome! Log In Create A New Profile

Advanced

HTTP/405

Frank Liu
August 04, 2017 01:30AM
https://tools.ietf.org/html/rfc7231#page-59 says:

.... The origin server MUST generate an
Allow header field in a 405 response containing a list of the target
resource's currently supported methods.

nginx doesn't seem to have Allow header field. Is that against RFC?

curl -v -X TRACE http://nginx.org
* Rebuilt URL to: http://nginx.org/
* Trying 95.211.80.227...
* TCP_NODELAY set
* Connected to nginx.org (95.211.80.227) port 80 (#0)
> TRACE / HTTP/1.1
> Host: nginx.org
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 405 Not Allowed
< Server: nginx/1.13.3
< Date: Fri, 04 Aug 2017 05:25:26 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 173
< Connection: close
<
<html>
<head><title>405 Not Allowed</title></head>
<body bgcolor="white">
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx/1.13.3</center>
</body>
</html>
* Closing connection 0
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

HTTP/405

Frank Liu August 04, 2017 01:30AM

Re: HTTP/405

B.R. via nginx August 04, 2017 06:48AM

Re: HTTP/405

Frank Liu August 04, 2017 12:40PM

Re: HTTP/405

Valentin V. Bartenev August 04, 2017 07:08AM

Re: HTTP/405

Frank Liu August 04, 2017 12:44PM

Re: HTTP/405

Valentin V. Bartenev August 04, 2017 01:38PM

Re: HTTP/405

B.R. via nginx August 07, 2017 01:24PM

Re: HTTP/405

Valentin V. Bartenev August 07, 2017 01:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 257
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready