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
  1. yashbhutwala commented at 3:33 PM on February 4, 2018: none

    Fix for #12346.

  2. python3 http module uses enum to define HTTP status codes ff2785e8c0
  3. randolf commented at 4:26 PM on February 4, 2018: contributor

    @yashbhutwala What are you trying to achieve with this Pull Request?

  4. 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

  5. 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

  6. MarcoFalke closed this on Feb 4, 2018

  7. yashbhutwala deleted the branch on May 3, 2018
  8. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-15 00:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me