Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/mitmproxy/mitmproxy
/ clear
Method
clear
mitmproxy/proxy/utils.py:66–68 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
64
return
self._len > 0
65
66
def
clear(self):
67
self._chunks.clear()
68
self._len = 0
Callers
14
test_receive_buffer
Function · 0.95
_handshake_finished
Method · 0.45
disarm
Method · 0.45
_ask
Method · 0.45
receive_handshake_data
Method · 0.45
close_connection
Method · 0.45
state_wait_for_request_headers
Method · 0.45
state_stream_request_body
Method · 0.45
state_consume_request_body
Method · 0.45
state_stream_response_body
Method · 0.45
state_consume_response_body
Method · 0.45
check_body_size
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_receive_buffer
Function · 0.76