mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 23:00:18 +00:00
pay me
This commit is contained in:
@@ -135,6 +135,12 @@ def status_code(code):
|
||||
305: redirect,
|
||||
307: redirect,
|
||||
401: dict(headers={'WWW-Authenticate': 'Basic realm="Fake Realm"'}),
|
||||
402: dict(
|
||||
data='Fuck you, payme!',
|
||||
headers={
|
||||
'x-more-info': 'http://vimeo.com/22053820'
|
||||
}
|
||||
),
|
||||
407: dict(headers={'Proxy-Authenticate': 'Basic realm="Fake Realm"'}),
|
||||
418: dict( # I'm a teapot!
|
||||
data=ASCII_ART,
|
||||
|
||||
Reference in New Issue
Block a user