From 13fd0940567a738a50f084a283c2749b9bc5957e Mon Sep 17 00:00:00 2001 From: Ujjwal Ojha Date: Sun, 24 May 2015 12:29:08 +0545 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 88b8de89..e658968c 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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: