Skip to content

Commit

Permalink
Merge pull request guzzle#1529 from mstrom/master
Browse files Browse the repository at this point in the history
Fixing issue guzzle#1528 - default value of allow_redirects.referer
  • Loading branch information
mtdowling authored Jul 21, 2016
2 parents 3f808fb + 9c24451 commit 158c171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/request-options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ allow_redirects
[
'max' => 5,
'strict' => false,
'referer' => true,
'referer' => false,
'protocols' => ['http', 'https'],
'track_redirects' => false
]
Expand Down Expand Up @@ -62,7 +62,7 @@ pairs:
Strict RFC compliant redirects mean that POST redirect requests are sent as
POST requests vs. doing what most browsers do which is redirect POST requests
with GET requests.
- referer: (bool, default=true) Set to false to disable adding the Referer
- referer: (bool, default=false) Set to true to enable adding the Referer
header when redirecting.
- protocols: (array, default=['http', 'https']) Specified which protocols are
allowed for redirect requests.
Expand Down

0 comments on commit 158c171

Please sign in to comment.