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.

classification
Title: requests module parse url failed
Type: Stage: resolved
Components: Parser Versions: Python 3.8
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: cc97654321, christian.heimes, lys.nikolaou, pablogsal
Priority: normal Keywords:

Created on 2022-03-17 05:39 by cc97654321, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg415387 - (view) Author: yonghao hu (cc97654321) Date: 2022-03-17 05:39
Run the following code or report an error, and the URL is a normal URL:
'''
python3 -c "import requests;requests.get('http://183.246.199.100:8321')"
'''
Error code:
'''
requests.exceptions.InvalidURL: Failed to parse: http://183.246.199.100:8321:8321/SSO/EnrollList
'''
msg415392 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2022-03-17 08:04
Requests is a 3rd party package and not part of the standard library.

There is a problem with the HTTP server at http://183.246.199.100:8321. It is sending a HTTP redirect with the port number duplicated: ":8321:8321". Please report the issue to the server admin.
History
Date User Action Args
2022-04-11 14:59:57adminsetgithub: 91197
2022-03-17 08:04:38christian.heimessetstatus: open -> closed

nosy: + christian.heimes
messages: + msg415392

resolution: third party
stage: resolved
2022-03-17 05:39:59cc97654321create