Req #68875 [NoF->ReO]: LINK http method not implemented
Edit report at https://bugs.php.net/bug.php?id=68875&edit=1
ID: 68875
Updated by: cmb@php.net
Reported by: pedroresende at mail dot resende dot biz
Summary: LINK http method not implemented
-Status: No Feedback
+Status: Re-Opened
Type: Feature/Change Request
Package: Built-in web server
Operating System: Ubuntu 14.10
PHP Version: Irrelevant
Assigned To: cmb
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2016-11-30 08:55:49] arielferrandini at gmail dot com
Same happens with method PURGE
Test script:
------------
php -S localhost:8001
curl -i -X PURGE http://localhost:8001/
Result:
-------
HTTP/1.1 501 Not Implemented
Host: localhost:8001
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;}
</style>
</head><body><h1>Not Implemented</h1><p>Request method not
supported.</p></body></html>
------------------------------------------------------------------------
[2016-07-21 23:34:22] cmb@php.net
Related To: Bug #72619
------------------------------------------------------------------------
[2016-07-17 04:22:22] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
[2016-07-05 18:34:23] cmb@php.net
> LINK/UNLINK is a draft [â¦]
The latest respective draft which I could find is "HTTP Link and
Unlink Methods|draft-snell-link-method-12"[1], which has been
expired on March 24, 2016. Can you point to a more recent RFC?
> The usage drives everything & BTW it's just a debate about an
> HTTP verb, nothing more!
If it is nothing more, we should consider to accept *all*
potentially allowable verbs. That would also simplify the parser.
[1] <https://tools.ietf.org/html/draft-snell-link-method-12>
------------------------------------------------------------------------
[2016-03-26 14:54:42] sebastien dot houze at gmail dot com
Guys, don't we need to move forward?
LINK/UNLINK is a draft but I can attest that many people already use it. The usage drives everything
& BTW it's just a debate about an HTTP verb, nothing more!
In fact, php is using nodejs http-parser https://github.com/nodejs/http-parser code.
And guess what... nodejs http-parser code has adopted LINK/UNLINK support since few months!
https://github.com/nodejs/http-parser/commit/e557b62744e4f487a303b25b27c56947d7a8bacc
Maybe it's time to backport that in php source?
I can make the pull request and everything needed to have this pull request merged. Furthermore it
could be backported to every actively supported php version.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=68875
--
Edit this bug report at https://bugs.php.net/bug.php?id=68875&edit=1
Thread (8 messages)