Fix for #12346.
python3 http module uses enum to define HTTP status codes #12347
pull yashbhutwala wants to merge 1 commits into bitcoin:master from yashbhutwala:interface_http_status_patch changing 1 files +3 −3-
yashbhutwala commented at 3:33 PM on February 4, 2018: none
-
python3 http module uses enum to define HTTP status codes ff2785e8c0
-
randolf commented at 4:26 PM on February 4, 2018: contributor
@yashbhutwala What are you trying to achieve with this Pull Request?
-
MarcoFalke commented at 5:45 PM on February 4, 2018: member
According to the documentation, the previous code was correct. See https://docs.python.org/3.4/library/http.client.html#http.client.HTTPS_PORT
-
yashbhutwala commented at 6:12 PM on February 4, 2018: none
Sorry, my system's running 3.6, so my linter couldn't find the statuses in http.client. I was looking at this for reference: https://docs.python.org/3.6/library/http.html#http.HTTPStatus
- MarcoFalke closed this on Feb 4, 2018
- yashbhutwala deleted the branch on May 3, 2018
- MarcoFalke locked this on Sep 8, 2021