Skip to content

Commit 29f8185

Browse files
author
Paul M. Jones
committed
Merge pull request #17 from weierophinney/hotfix/request-targets
Authority- and asterisk-forms are request targets, not URIs
2 parents 70d7c44 + 33e3289 commit 29f8185

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/UriTargetInterface.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,10 @@ public function isOrigin();
286286
public function isAbsolute();
287287

288288
/**
289-
* Indicate whether the URI is in authority form.
289+
* Indicate whether the instance represents an authority-form request
290+
* target.
290291
*
291-
* An authority-form URI is an URI that contains ONLY the authority
292-
* information.
292+
* An authority-form request-target contains ONLY the authority information.
293293
*
294294
* @see getAuthority()
295295
* @link http://tools.ietf.org/html/rfc7230#section-5.3.3
@@ -298,10 +298,10 @@ public function isAbsolute();
298298
public function isAuthority();
299299

300300
/**
301-
* Indicate whether the URI is an asterisk-form.
301+
* Indicate whether the instance represents an asterisk-form request
302+
* target.
302303
*
303-
* An asterisk form URI will contain "*" as the path, and no other URI
304-
* segments.
304+
* An asterisk-form request-target will contain ONLY the string "*".
305305
*
306306
* @link http://tools.ietf.org/html/rfc7230#section-5.3.4
307307
* @return bool

0 commit comments

Comments
 (0)