Mastodon.py/tests/cassettes/test_url_errors.yaml

99 wiersze
1.8 KiB
YAML

interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer foo
Connection:
- keep-alive
User-Agent:
- mastodonpy
method: GET
uri: https://zombo.com/api/v1/instance/
response:
body:
string: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>
'
headers:
Connection:
- Keep-Alive
Content-Length:
- '196'
Content-Type:
- text/html; charset=iso-8859-1
Date:
- Sun, 11 Feb 2024 11:49:59 GMT
Keep-Alive:
- timeout=2, max=500
Server:
- Apache
status:
code: 404
message: Not Found
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer foo
Connection:
- keep-alive
User-Agent:
- mastodonpy
method: GET
uri: https://zombo.com/api/v1/instance/
response:
body:
string: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>
'
headers:
Connection:
- Keep-Alive
Content-Length:
- '196'
Content-Type:
- text/html; charset=iso-8859-1
Date:
- Sun, 11 Feb 2024 11:50:00 GMT
Keep-Alive:
- timeout=2, max=500
Server:
- Apache
status:
code: 404
message: Not Found
version: 1