Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'docs/#12-readme-psr7-status-update' into develop
Browse files Browse the repository at this point in the history
Close #12
Forward port #12
  • Loading branch information
Ocramius committed May 25, 2015
2 parents 13a5f4a + 13fd094 commit 92bfc3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This package supercedes and replaces [phly/http](https://github.com/phly/http).

This package exists:

- to provide a proof-of-concept of the proposed PSR HTTP message interfaces with relation to server-side applications.
- to provide a proof-of-concept of the accepted PSR HTTP message interfaces with relation to server-side applications.
- to provide a node-like paradigm for PHP front controllers.
- to provide a common methodology for marshaling a request from the server environment.

Expand Down Expand Up @@ -63,7 +63,7 @@ $request = new Zend\Diactoros\Request(
// If you want to set a non-origin-form request target, set the
// request-target explicitly:
$request = $request->withRequestTarget((string) $uri); // absolute-form
$request = $request->withRequestTarget($uri->getAuthority(); // authority-form
$request = $request->withRequestTarget($uri->getAuthority()); // authority-form
$request = $request->withRequestTarget('*'); // asterisk-form

// Once you have the instance:
Expand Down

0 comments on commit 92bfc3e

Please sign in to comment.