From 0217f6be0938f193cea3209981d8afe4371c0730 Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Wed, 18 Mar 2015 09:07:49 -0500 Subject: [PATCH] [#426] Return "/" from UriInterface::getPath() Per discussion on #426, RFC 3986 declares an empty path and the path "/" as equivalent. For consistency, the interface should return "/" for either case. --- proposed/http-message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposed/http-message.md b/proposed/http-message.md index e37e3e62a..8e1451925 100644 --- a/proposed/http-message.md +++ b/proposed/http-message.md @@ -1222,7 +1222,7 @@ interface UriInterface * Retrieve the path segment of the URI. * * This method MUST return a string; if no path is present it MUST return - * an empty string. + * the string "/". * * @return string The path segment of the URI. */