Req #68875 [Com]: LINK http method not implemented

From: Date: Sat, 26 Mar 2016 14:54:44 +0000
Subject: Req #68875 [Com]: LINK http method not implemented
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200116@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68875&edit=1 ID: 68875 Comment by: sebastien dot houze at gmail dot com Reported by: pedroresende at mail dot resende dot biz Summary: LINK http method not implemented Status: Suspended Type: Feature/Change Request Package: Built-in web server Operating System: Ubuntu 14.10 PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2015-09-05 11:54:54] cmb@php.net > I don't think it is a good idea to introduce verbs that may not > ever be accepted or widely used into the test server. I fully agree. Therefore I'm suspending this request. ------------------------------------------------------------------------ [2015-01-21 13:05:13] leigh@php.net The LINK and UNLINK methods are draft status, subject to change and/or not being accepted as a specification at all. https://tools.ietf.org/html/draft-snell-link-method-11 I don't think it is a good idea to introduce verbs that may not ever be accepted or widely used into the test server. ------------------------------------------------------------------------ [2015-01-21 11:39:51] pedroresende at mail dot resende dot biz Description: ------------ Apparently the php built-in web server hasn't LINK method implemented Test script: --------------- php -S localhost:8001 curl -i -X LINK http://localhost:8001/ Actual 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>% ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68875&edit=1

« previous php.bugs (#200116) next »