http.cookies.BaseCookie.value_encode()

BaseCookie.value_encode(val)

Return an encoded value. val can be any type, but return value must be a string. This method does nothing in BaseCookie — it exists so it can be overridden.

In general, it should be the case that value_encode() and value_decode() are inverses on the range of value_decode.

doc_python
2016-10-07 17:34:08
Comments
Leave a Comment

Please login to continue.