www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wechsung@hyperreal.org, Ingo ...@contexo.com>
Subject general/5316: PUT method reports 405 "Method not allowed", altough it is 501 "Not supported"
Date Mon, 15 Nov 1999 14:35:30 GMT

>Number:         5316
>Category:       general
>Synopsis:       PUT method reports 405 "Method not allowed", altough it is 501 "Not supported"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Mon Nov 15 06:40:00 PST 1999
>Originator:     iw@contexo.com
>Release:        1.3.4
I tried to use the PUT method and kept getting "405 Method not allowed". 
As RFC 2616 says, the 405 error code indicates that the 
method is not allowed for the requested object only, so I tried to figure out
what I had done wrong in the httpd.conf, file permissions and all that.
I also checked the manual. Not one word about unsupported methods.
Only after looking at the source code, it turned out that PUT is not supported
at all. The server should have told me that with error code  
"501 Not supported". This would have saved me some 2 days or so.
telnet loopback 80
PUT /this.html HTTP/1.1
Content-type: text/html
Content-length: 14

- Return 501 error code instead 405 on unsupported methods
- document which methods are supported and hence are configurable 
and which are not

[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message