http.cookies.BaseCookie.output()

BaseCookie.output(attrs=None, header='Set-Cookie:', sep='\r\n')

Return a string representation suitable to be sent as HTTP headers. attrs and header are sent to each Morsel‘s output() method. sep is used to join the headers together, and is by default the combination '\r\n' (CRLF).

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

Please login to continue.