MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / _hkey

Function _hkey

thirdparty/bottle/bottle.py:1990–1993  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

1988
1989
1990def _hkey(key):
1991 if '\n' in key or '\r' in key or '\0' in key:
1992 raise ValueError("Header names must not contain control characters: %r" % key)
1993 return key.title().replace('_', '-')
1994
1995
1996def _hval(value):

Callers 15

__contains__Method · 0.85
__delitem__Method · 0.85
__getitem__Method · 0.85
__setitem__Method · 0.85
get_headerMethod · 0.85
set_headerMethod · 0.85
add_headerMethod · 0.85
__contains__Method · 0.85
__delitem__Method · 0.85
__getitem__Method · 0.85
__setitem__Method · 0.85
appendMethod · 0.85

Calls 2

titleMethod · 0.80
replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…