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 vstinner
Recipients vstinner
Date 2017-11-20.14:02:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Extract of send_head():

        path = self.translate_path(self.path)
        f = None
        if os.path.isdir(path):
            parts = urllib.parse.urlsplit(self.path)

urllib.parse.urlsplit('//') returns:

SplitResult(scheme='', netloc='', path='/%2f..', query='', fragment='')

Is urlsplit() the correct function to call here? is part of the path, not of the netloc.
Date User Action Args
2017-11-20 14:02:11vstinnersetrecipients: + vstinner
2017-11-20 14:02:11vstinnersetmessageid: <>
2017-11-20 14:02:11vstinnerlinkissue32084 messages
2017-11-20 14:02:11vstinnercreate