Skip to content

Add mimetype for extension .md (markdown) #83505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rdbatch02 mannequin opened this issue Jan 13, 2020 · 2 comments
Closed

Add mimetype for extension .md (markdown) #83505

rdbatch02 mannequin opened this issue Jan 13, 2020 · 2 comments
Labels
3.11 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@rdbatch02
Copy link
Mannequin

rdbatch02 mannequin commented Jan 13, 2020

BPO 39324
Nosy @rdbatch02
PRs
  • bpo-39324: Add markdown mimetype mapping #17995
  • 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 = None
    closed_at = None
    created_at = <Date 2020-01-13.19:53:40.754>
    labels = ['type-feature', '3.11']
    title = 'Add mimetype for extension .md (markdown)'
    updated_at = <Date 2022-01-15.19:23:40.857>
    user = 'https://github.com/rdbatch02'

    bugs.python.org fields:

    activity = <Date 2022-01-15.19:23:40.857>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2020-01-13.19:53:40.754>
    creator = 'Ryan Batchelder'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39324
    keywords = ['patch']
    message_count = 1.0
    messages = ['359931']
    nosy_count = 1.0
    nosy_names = ['Ryan Batchelder']
    pr_nums = ['17995']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue39324'
    versions = ['Python 3.11']

    Linked PRs

    @rdbatch02
    Copy link
    Mannequin Author

    rdbatch02 mannequin commented Jan 13, 2020

    I would like to propose that the mimetype for markdown files ending in .md to text/markdown is included in the mimetypes library. This is registered here: https://www.iana.org/assignments/media-types/text/markdown

    @rdbatch02 rdbatch02 mannequin added 3.7 (EOL) end of life 3.8 (EOL) end of life 3.9 only security fixes type-feature A feature request or enhancement labels Jan 13, 2020
    @iritkatriel iritkatriel added 3.11 only security fixes and removed 3.7 (EOL) end of life 3.8 (EOL) end of life 3.9 only security fixes labels Jan 15, 2022
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @iritkatriel iritkatriel added the stdlib Python modules in the Lib dir label Nov 27, 2023
    @jaraco
    Copy link
    Member

    jaraco commented May 5, 2024

    I ran into this issue yesterday. Sure seems like a bug that one of the Internet's most popular content types isn't recognized by Python.

    miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 5, 2024
    (cherry picked from commit b6f0ab5)
    
    Co-authored-by: Ryan Batchelder <ryanbatch@gmail.com>
    @jaraco jaraco closed this as completed May 5, 2024
    SonicField pushed a commit to SonicField/cpython that referenced this issue May 8, 2024
    jaraco pushed a commit that referenced this issue Aug 6, 2024
    gh-83505: Add markdown mimetype mapping (GH-17995)
    (cherry picked from commit b6f0ab5)
    
    Co-authored-by: Ryan Batchelder <ryanbatch@gmail.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.11 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants