From 33e32890574140b436f482dad59b623c9eb7055b Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Thu, 22 Jan 2015 11:22:58 -0600 Subject: [PATCH] Authority- and asterisk-forms are request targets, not URIs --- src/UriTargetInterface.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/UriTargetInterface.php b/src/UriTargetInterface.php index 02d309b..a2fab9b 100644 --- a/src/UriTargetInterface.php +++ b/src/UriTargetInterface.php @@ -286,10 +286,10 @@ public function isOrigin(); public function isAbsolute(); /** - * Indicate whether the URI is in authority form. + * Indicate whether the instance represents an authority-form request + * target. * - * An authority-form URI is an URI that contains ONLY the authority - * information. + * An authority-form request-target contains ONLY the authority information. * * @see getAuthority() * @link http://tools.ietf.org/html/rfc7230#section-5.3.3 @@ -298,10 +298,10 @@ public function isAbsolute(); public function isAuthority(); /** - * Indicate whether the URI is an asterisk-form. + * Indicate whether the instance represents an asterisk-form request + * target. * - * An asterisk form URI will contain "*" as the path, and no other URI - * segments. + * An asterisk-form request-target will contain ONLY the string "*". * * @link http://tools.ietf.org/html/rfc7230#section-5.3.4 * @return bool