MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / update

Method update

tools/python-3.11.9-amd64/Lib/http/cookies.py:337–344  ·  view source on GitHub ↗
(self, values)

Source from the content-addressed store, hash-verified

335 return morsel
336
337 def update(self, values):
338 data = {}
339 for key, val in dict(values).items():
340 key = key.lower()
341 if key not in self._reserved:
342 raise CookieError("Invalid attribute %r" % (key,))
343 data[key] = val
344 dict.update(self, data)
345
346 def isReservedKey(self, K):
347 return K.lower() in self._reserved

Callers 3

client.pyFile · 0.45
cookies.pyFile · 0.45
copyMethod · 0.45

Calls 3

CookieErrorClass · 0.85
itemsMethod · 0.45
lowerMethod · 0.45

Tested by

no test coverage detected