Skip to content

Commit

Permalink
Merge pull request #2346 from BenMorel/patch-2
Browse files Browse the repository at this point in the history
allow_redirects.referer is false by default
  • Loading branch information
sagikazarmark committed Oct 18, 2019
2 parents bcbb52f + b55fb93 commit 4013818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RequestOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class RequestOptions
* - strict: (bool, default=false) Set to true to use strict redirects
* meaning redirect POST requests with 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 the Referer
* - referer: (bool, default=false) Set to true to enable the Referer
* header.
* - protocols: (array, default=['http', 'https']) Allowed redirect
* protocols.
Expand Down

0 comments on commit 4013818

Please sign in to comment.