cassettes for testing
This commit is contained in:
@@ -5,23 +5,22 @@ interactions:
|
||||
Accept: ['*/*']
|
||||
Accept-Encoding: ['gzip, deflate']
|
||||
Connection: [keep-alive]
|
||||
User-Agent: [rtv test suite PRAW/3.3.0 Python/3.4.0 b'Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty']
|
||||
User-Agent: [rtv test suite PRAW/3.4.0 Python/3.5.1 b'Linux-4.6.2-1-ARCH-x86_64-with-arch']
|
||||
method: GET
|
||||
uri: https://api.reddit.com/r/invalidsubreddit7/top.json?limit=1024
|
||||
response:
|
||||
body: {string: "<html>\n <head>\n <title>302 Found</title>\n </head>\n <body>\n\
|
||||
\ <h1>302 Found</h1>\n The resource was found at <a href=\"https://api.reddit.com/subreddits/search.json?q=invalidsubreddit7\"\
|
||||
>https://api.reddit.com/subreddits/search.json?q=invalidsubreddit7</a>;\n\
|
||||
you should be redirected automatically.\n\n\n </body>\n</html>"}
|
||||
body: {string: "<html>\n <head>\n <title>302 Found</title>\n </head>\n <body>\n
|
||||
\ <h1>302 Found</h1>\n The resource was found at <a href=\"https://api.reddit.com/subreddits/search.json?q=invalidsubreddit7\">https://api.reddit.com/subreddits/search.json?q=invalidsubreddit7</a>;\nyou
|
||||
should be redirected automatically.\n\n\n </body>\n</html>"}
|
||||
headers:
|
||||
CF-RAY: [24e5677aa46a1ea7-SJC]
|
||||
CF-RAY: [2c3e84d19f2508de-CDG]
|
||||
Connection: [keep-alive]
|
||||
Content-Length: ['313']
|
||||
Content-Type: [text/html; charset=UTF-8]
|
||||
Date: ['Wed, 02 Dec 2015 07:44:02 GMT']
|
||||
Date: ['Sun, 17 Jul 2016 14:52:38 GMT']
|
||||
Server: [cloudflare-nginx]
|
||||
Set-Cookie: ['__cfduid=df3faf3331eff535be76b2182b9629ec01449042241; expires=Thu,
|
||||
01-Dec-16 07:44:01 GMT; path=/; domain=.reddit.com; HttpOnly']
|
||||
Set-Cookie: ['__cfduid=d3fa12abe0b5763d7bf124874970191e51468767158; expires=Mon,
|
||||
17-Jul-17 14:52:38 GMT; path=/; domain=.reddit.com; HttpOnly']
|
||||
Strict-Transport-Security: [max-age=15552000; includeSubDomains; preload]
|
||||
X-Content-Type-Options: [nosniff]
|
||||
X-Moose: [majestic]
|
||||
|
||||
Reference in New Issue
Block a user