Skip to content

Commit

Permalink
Tweak readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssegers committed Oct 5, 2015
1 parent 345cd18 commit d21461b
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 @@ -50,9 +50,9 @@ $response = $proxy
->forward($request)
->filter(function ($request, $response, $next) {
// Manipulate the request object.
$request = $request->withHeader('User-Agent', 'Special proxy agent');
$request = $request->withHeader('User-Agent', 'FishBot/1.0');

// Call the item in the middleware.
// Call the next item in the middleware.
$response = $next($request, $response);

// Manipulate the response object.
Expand Down

0 comments on commit d21461b

Please sign in to comment.