Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions proposed/http-message.md
Original file line number Diff line number Diff line change
Expand Up @@ -1233,8 +1233,13 @@ interface UriInterface
/**
* Retrieve the path segment of the URI.
*
* This method MUST return a string; if no path is present it MUST return
* the string "/".
* This method MUST return a string.
*
* Normally, the empty path "" and absolute path "/" are considered equal as
* defined in RFC 7230 Section 2.7.3. But this method MUST NOT automatically
* do this normalization because in contexts with a trimmed base path, e.g.
* the front controller, this difference becomes significant. It's the task
* of the user to handle both "" and "/".
*
* @return string The path segment of the URI.
*/
Expand Down