MCPcopy Index your code
hub / github.com/secdev/scapy / ERROR

Method ERROR

scapy/layers/http.py:1240–1246  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1238
1239 @ATMT.state(error=1)
1240 def ERROR(self):
1241 self.send(
1242 HTTPResponse(
1243 Status_Code="400",
1244 Reason_Phrase="Bad Request",
1245 )
1246 )
1247
1248 @ATMT.state(final=1)
1249 def CLOSED(self):

Callers

nothing calls this directly

Calls 2

sendMethod · 0.95
HTTPResponseClass · 0.85

Tested by

no test coverage detected