This website requires JavaScript.
Explore
Help
Sign In
Grasscutters
/
mitmproxy
Watch
3
Star
0
Fork
0
You've already forked mitmproxy
mirror of
https://github.com/Grasscutters/mitmproxy.git
synced
2024-11-30 03:14:22 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
ec6934d339
mitmproxy
/
examples
/
fail_with_500.py
4 lines
88 B
Python
Raw
Normal View
History
Unescape
Escape
remove context from all scripts
2016-07-08 01:37:33 +00:00
def
response
(
flow
)
:
Adding example which turns every reponse into an HTTP 500. (#1136) * Adding example which turns every reponse into an HTTP 500. * Prefer b"" over None for response.content.
2016-05-11 21:26:17 +00:00
flow
.
response
.
status_code
=
500
flow
.
response
.
content
=
b
"
"
Reference in New Issue
Copy Permalink