Skip to content

http.server documentation missing default value for port #90626

Closed

Description

@JelleZijlstra
BPO 46468
Nosy @asvetlov, @JelleZijlstra, @miss-islington
PRs
  • bpo-46468: document that "-m http.server" defaults to port 8000 #30776
  • [3.9] bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776) #30786
  • [3.10] bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776) #30787
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/JelleZijlstra'
    closed_at = <Date 2022-01-22.15:31:30.142>
    created_at = <Date 2022-01-22.04:29:07.058>
    labels = ['3.11', '3.9', '3.10', 'docs']
    title = 'http.server documentation missing default value for port'
    updated_at = <Date 2022-01-22.15:32:14.479>
    user = 'https://github.com/JelleZijlstra'

    bugs.python.org fields:

    activity = <Date 2022-01-22.15:32:14.479>
    actor = 'asvetlov'
    assignee = 'JelleZijlstra'
    closed = True
    closed_date = <Date 2022-01-22.15:31:30.142>
    closer = 'asvetlov'
    components = ['Documentation']
    creation = <Date 2022-01-22.04:29:07.058>
    creator = 'JelleZijlstra'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46468
    keywords = ['patch']
    message_count = 4.0
    messages = ['411230', '411253', '411260', '411261']
    nosy_count = 3.0
    nosy_names = ['asvetlov', 'JelleZijlstra', 'miss-islington']
    pr_nums = ['30776', '30786', '30787']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue46468'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Activity

    1. JelleZijlstra commented on Jan 22, 2022

      @JelleZijlstra
      MemberAuthor

      "python -m http.server" works and listens on port 8000, but the docs suggest you always have to pass the port. PR incoming.

    2. asvetlov commented on Jan 22, 2022

      @asvetlov
      Contributor

      New changeset c8a5366 by Jelle Zijlstra in branch 'main':
      bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776)
      c8a5366

    3. asvetlov commented on Jan 22, 2022

      @asvetlov
      Contributor

      New changeset b408880 by Miss Islington (bot) in branch '3.9':
      bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776) (bpo-30786)
      b408880

    4. asvetlov commented on Jan 22, 2022

      @asvetlov
      Contributor

      New changeset 923c994 by Miss Islington (bot) in branch '3.10':
      bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776) (bpo-30787)
      923c994

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.10 (EOL)end of life3.11only security fixes3.9 (EOL)end of lifedocsDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions