]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
Just make all the headers lower for now
authorKevin McCarthy <me@kevinmccarthy.org>
Wed, 7 May 2014 06:37:40 +0000 (20:37 -1000)
committerKevin McCarthy <me@kevinmccarthy.org>
Sat, 10 May 2014 21:52:35 +0000 (11:52 -1000)
tests/fixtures/migration/new_cassette.json
tests/fixtures/migration/new_cassette.yaml
tests/fixtures/migration/old_cassette.json
tests/fixtures/migration/old_cassette.yaml

index 2b1bac6424aebfcdbe0e6667dd51ddd1742ac652..5526989b5f98d32ebb38653cfe23f0aeea160e51 100644 (file)
@@ -6,9 +6,9 @@
             "request": {
                 "body": null,
                 "headers": {
-                    "Accept": ["*/*"],
-                    "Accept-Encoding": ["gzip, deflate, compress"],
-                    "User-Agent": ["python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0"]
+                    "accept": ["*/*"],
+                    "accept-encoding": ["gzip, deflate, compress"],
+                    "user-agent": ["python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0"]
                 },
                 "method": "GET",
                 "uri": "http://httpbin.org/ip"
index b76eef91848947f67f35007676260ff779aac6ca..e132e5a63524c67da519013f0a246f6c6b5d74bd 100644 (file)
@@ -3,9 +3,9 @@ interactions:
 - request:
     body: null
     headers: 
-      Accept: ['*/*']
-      Accept-Encoding: ['gzip, deflate, compress']
-      User-Agent: ['python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0']
+      accept: ['*/*']
+      accept-encoding: ['gzip, deflate, compress']
+      user-agent: ['python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0']
     method: GET
     uri: http://httpbin.org/ip
   response:
index 22fd9cd17c80c765238fdb856c725dbdff5d8a50..f6bfed1b5b1aec747aa62a65ddb799b32efe0384 100644 (file)
@@ -5,9 +5,9 @@
             "protocol": "http", 
             "method": "GET", 
             "headers": {
-                "Accept-Encoding": "gzip, deflate, compress", 
-                "Accept": "*/*", 
-                "User-Agent": "python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0"
+                "accept-encoding": "gzip, deflate, compress", 
+                "accept": "*/*", 
+                "user-agent": "python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0"
             }, 
             "host": "httpbin.org", 
             "path": "/ip", 
                 "code": 200
             }, 
             "headers": [
-                "Access-Control-Allow-Origin: *\r\n", 
-                "Content-Type: application/json\r\n", 
-                "Date: Mon, 21 Apr 2014 23:13:40 GMT\r\n", 
-                "Server: gunicorn/0.17.4\r\n", 
-                "Content-Length: 32\r\n", 
-                "Connection: keep-alive\r\n"
+                "access-control-allow-origin: *\r\n", 
+                "content-type: application/json\r\n", 
+                "date: Mon, 21 Apr 2014 23:13:40 GMT\r\n", 
+                "server: gunicorn/0.17.4\r\n", 
+                "content-length: 32\r\n", 
+                "connection: keep-alive\r\n"
             ], 
             "body": {
                 "string": "{\n  \"origin\": \"217.122.164.194\"\n}"
index 970823d3585f387da443b6b5baa61c8add525715..cd1eacb2930f7c0aa34c80252c3429d43f57992f 100644 (file)
@@ -1,9 +1,9 @@
 - request: !!python/object:vcr.request.Request
     body: null
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
-      - !!python/tuple [User-Agent, python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0]
-      - !!python/tuple [Accept, '*/*']
+    - - !!python/tuple [accept-encoding, 'gzip, deflate, compress']
+      - !!python/tuple [user-agent, python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0]
+      - !!python/tuple [accept, '*/*']
     host: httpbin.org
     method: GET
     path: /ip
@@ -11,8 +11,8 @@
     protocol: http
   response:
     body: {string: !!python/unicode "{\n  \"origin\": \"217.122.164.194\"\n}"}
-    headers: [!!python/unicode "Access-Control-Allow-Origin: *\r\n", !!python/unicode "Content-Type:
-        application/json\r\n", !!python/unicode "Date: Mon, 21 Apr 2014 23:06:09 GMT\r\n",
-      !!python/unicode "Server: gunicorn/0.17.4\r\n", !!python/unicode "Content-Length:
-        32\r\n", !!python/unicode "Connection: keep-alive\r\n"]
+    headers: [!!python/unicode "access-control-allow-origin: *\r\n", !!python/unicode "content-type:
+        application/json\r\n", !!python/unicode "date: Mon, 21 Apr 2014 23:06:09 GMT\r\n",
+      !!python/unicode "server: gunicorn/0.17.4\r\n", !!python/unicode "content-length:
+        32\r\n", !!python/unicode "connection: keep-alive\r\n"]
     status: {code: 200, message: OK}