Amir Mohamadi <[email protected]> added the comment:
@vstinner sorry to bother you, I have a quick question.
the request(...) method is like this:
def request(self, method, url, body=None, headers={}, *,
encode_chunked=False):
"""Send a complete request to the server."""
self._send_request(method, url, body, headers, encode_chunked)
'request' calls '_send_request' method and '_send_request' calls 'putrequest'
inside itself.
So is it good if I encode 'method' parameter to ASCII inside 'putrequest'??!
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39603>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com