Files
tuir/tests/cassettes/test_content_subreddit_initialize_invalid.yaml
2016-07-18 16:05:45 -05:00

31 lines
1.4 KiB
YAML

interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [rtv test suite PRAW/3.5.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>;\nyou
should be redirected automatically.\n\n\n </body>\n</html>"}
headers:
CF-RAY: [2c48c1ade33824fb-ORD]
Connection: [keep-alive]
Content-Length: ['313']
Content-Type: [text/html; charset=UTF-8]
Date: ['Mon, 18 Jul 2016 20:41:48 GMT']
Server: [cloudflare-nginx]
Set-Cookie: ['__cfduid=d9c2dbb6763c9d4a1af79e2e781860b511468874508; expires=Tue,
18-Jul-17 20:41:48 GMT; path=/; domain=.reddit.com; HttpOnly']
Strict-Transport-Security: [max-age=15552000; includeSubDomains; preload]
X-Content-Type-Options: [nosniff]
X-Moose: [majestic]
cache-control: ['max-age=0, must-revalidate']
location: ['https://api.reddit.com/subreddits/search.json?q=invalidsubreddit7']
status: {code: 302, message: Found}
version: 1