Skip to content
Myr

backup

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 1da54de · Browse files · 1 file+2 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−3 removed

  • other:+2 added−3 removed

1 file+2 added−3 removed

modified:requests/packages/oreos/core.py+2 added-3 removed
5 unmodified lines
67The creamy white center.8"""910from .structures import MultiDict10from .monkeys import SimpleCookie111213def dict_from_string(s):14 """Returns a MultiDict with Cookies."""1517 cookies = MultiDict()16 cookies = dict()1718 c = SimpleCookie()19 c.load(s)2021 for k,v in c.items():23 cookies.add(k, v.value)22 cookies.update({k: v.value})2324 return cookies