diff --git a/src/Illuminate/Foundation/Testing/CrawlerTrait.php b/src/Illuminate/Foundation/Testing/CrawlerTrait.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Foundation/Testing/CrawlerTrait.php
+++ b/src/Illuminate/Foundation/Testing/CrawlerTrait.php
@@ -49,6 +49,13 @@ trait CrawlerTrait
     protected $uploads = [];
 
     /**
+     * Additional server variables for all requests.
+     *
+     * @var array
+     */
+    protected $server = [];
+
+    /**
      * Visit the given URI with a GET request.
      *
      * @param  string  $uri
@@ -1049,6 +1056,8 @@ trait CrawlerTrait
 
         $this->currentUri = $this->prepareUrlForRequest($uri);
 
+        $server = array_replace($this->server, $server);
+
         $request = Request::create(
             $this->currentUri, $method, $parameters,
             $cookies, $files, $server, $content
[<I>] CrawlerTrait allows specifying server vars for request

The contents of Request::server can now be configured to match the production server's variables when running tests.

Simply set the server property with the server variables of the real server, and the crawler will use them when generating test requests.