|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73637 Server http method implemented
Submitted: 2016-12-01 19:09 UTC Modified: 2016-12-02 00:53 UTC
From: r dot mbiama at angosso dot net Assigned:
Status: Duplicate Package: Built-in web server
PHP Version: 7.0.13 OS: Vhosts
Private report: No CVE-ID: None
 [2016-12-01 19:09 UTC] r dot mbiama at angosso dot net
Apparently the php built-in web server has setup method implemented

Test script:
php -S

curl -i -X Vhosts

Actual result:
HTTP/1.1 501 Not Implemented
Connection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 495

<!doctype html><html><head><title>501 Not Implemented</title><style>
body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; }
h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; }
h1, p { padding-left: 10px; }
code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;}
</head><body><h1>Not Implemented</h1><p>Request method not supported.</p></body></html>%       


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-02 00:53 UTC]
-Status: Open +Status: Duplicate
 [2016-12-02 00:53 UTC]
The built-in web server only accepts a specific list of HTTP verbs. See request #72619 for allowing any method.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 21 04:01:30 2024 UTC