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-27 10:26:23 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
9267b2b501
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