This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Amir
Recipients Amir, maxpl0it, orsenthil, vstinner, xtreak
Date 2020-02-12.07:09:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581491361.12.0.0312404474271.issue39603@roundup.psfhosted.org>
In-reply-to
Content
@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'??!
History
Date User Action Args
2020-02-12 07:09:21Amirsetrecipients: + Amir, orsenthil, vstinner, xtreak, maxpl0it
2020-02-12 07:09:21Amirsetmessageid: <1581491361.12.0.0312404474271.issue39603@roundup.psfhosted.org>
2020-02-12 07:09:21Amirlinkissue39603 messages
2020-02-12 07:09:20Amircreate