MCPcopy Index your code
hub / github.com/python/cpython / value_decode

Method value_decode

Lib/http/cookies.py:481–488  ·  view source on GitHub ↗

real_value, coded_value = value_decode(STRING) Called prior to setting a cookie's value from the network representation. The VALUE is the value read from HTTP header. Override this function to modify the behavior of cookies.

(self, val)

Source from the content-addressed store, hash-verified

479 """A container class for a set of Morsels."""
480
481 def value_decode(self, val):
482 """real_value, coded_value = value_decode(STRING)
483 Called prior to setting a cookie's value from the network
484 representation. The VALUE is the value read from HTTP
485 header.
486 Override this function to modify the behavior of cookies.
487 """
488 return val, val
489
490 def value_encode(self, val):
491 """real_value, coded_value = value_encode(VALUE)

Callers 1

__parse_stringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected