MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / add_header

Method add_header

thirdparty/bottle/bottle.py:2151–2153  ·  view source on GitHub ↗

Add an additional response header, not removing duplicates.

(self, name, value)

Source from the content-addressed store, hash-verified

2149 self._headers[_hkey(name)] = [_hval(value)]
2150
2151 def add_header(self, name, value):
2152 """ Add an additional response header, not removing duplicates. """
2153 self._headers.setdefault(_hkey(name), []).append(_hval(value))
2154
2155 def iter_headers(self):
2156 """ Yield (header, value) tuples, skipping headers that are not

Callers 3

__init__Method · 0.95
start_responseMethod · 0.80
wrapperFunction · 0.80

Calls 4

_hkeyFunction · 0.85
_hvalFunction · 0.85
setdefaultMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected