MCPcopy Create free account
hub / github.com/apache/trafficserver / pr

Method pr

tools/gdb-helpers.py:134–143  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

132 fblock_ptr = fblock['m_next']
133
134 def pr(self):
135 if self.is_valid():
136 if self.is_request():
137 print("{} {}".format(self.method(), self.url()))
138 if self.is_response():
139 print("status: {}".format(self.status()))
140 for key, val in self.headers():
141 print("{}: {}".format(key, val))
142 else:
143 print("invalid")
144
145
146class ConnectionAttributes:

Callers 2

sm_commandFunction · 0.80
hdrs_commandFunction · 0.80

Calls 8

is_validMethod · 0.95
is_requestMethod · 0.95
methodMethod · 0.95
urlMethod · 0.95
is_responseMethod · 0.95
statusMethod · 0.95
headersMethod · 0.95
formatMethod · 0.45

Tested by

no test coverage detected