MCPcopy Create free account
hub / github.com/KmBase/ScienceReading / parse_dict_header

Function parse_dict_header

embedded/site-packages/requests/utils.py:407–438  ·  view source on GitHub ↗

Parse lists of key, value pairs as described by RFC 2068 Section 2 and convert them into a python dict: >>> d = parse_dict_header('foo="is a fish", bar="as well"') >>> type(d) is dict True >>> sorted(d.items()) [('bar', 'as well'), ('foo', 'is a fish')] If there is no v

(value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

handle_401Method · 0.85

Calls 2

unquote_header_valueFunction · 0.85
splitMethod · 0.45

Tested by

no test coverage detected