Files
tuir/tests/cassettes/test_content_subreddit_initialize_invalid.yaml
2019-06-09 21:00:09 -05:00

35 lines
1.5 KiB
YAML

interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [tuir test suite PRAW/3.6.1 Python/3.6.1 b'Darwin-14.5.0-x86_64-i386-64bit']
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:
Accept-Ranges: [bytes]
Connection: [keep-alive]
Content-Length: ['313']
Content-Type: [text/html; charset=UTF-8]
Date: ['Thu, 14 Sep 2017 04:37:53 GMT']
Server: [snooserv]
Set-Cookie: [edgebucket=nnoHBBUmKPnOy7O0pY; Domain=reddit.com; Max-Age=63071999;
Path=/; secure]
Strict-Transport-Security: [max-age=15552000; includeSubDomains; preload]
Via: [1.1 varnish]
X-Cache: [MISS]
X-Cache-Hits: ['0']
X-Moose: [majestic]
X-Served-By: [cache-ord1739-ORD]
X-Timer: ['S1505363873.124468,VS0,VE28']
cache-control: ['max-age=0, must-revalidate']
location: ['https://api.reddit.com/subreddits/search.json?q=invalidsubreddit7']
status: {code: 302, message: Found}
version: 1