Skip to content
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

http.server module sets incorrect mimetype for WebAssembly files #78939

Closed
travisoneill mannequin opened this issue Sep 21, 2018 · 2 comments
Closed

http.server module sets incorrect mimetype for WebAssembly files #78939

travisoneill mannequin opened this issue Sep 21, 2018 · 2 comments
Labels
3.8 only security fixes stdlib Python modules in the Lib dir

Comments

@travisoneill
Copy link
Mannequin

travisoneill mannequin commented Sep 21, 2018

BPO 34758
Nosy @asvetlov, @travisoneill
PRs
  • bpo-34758: add .wasm to recognized file extensions in mimetypes module #9464
  • 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 = <Date 2018-10-09.04:44:47.251>
    created_at = <Date 2018-09-21.00:09:24.021>
    labels = ['3.8', 'library']
    title = 'http.server module sets incorrect mimetype for WebAssembly files'
    updated_at = <Date 2018-10-09.04:44:47.249>
    user = 'https://github.com/travisoneill'

    bugs.python.org fields:

    activity = <Date 2018-10-09.04:44:47.249>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-10-09.04:44:47.251>
    closer = 'asvetlov'
    components = ['Library (Lib)']
    creation = <Date 2018-09-21.00:09:24.021>
    creator = 'travisoneill'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34758
    keywords = ['patch']
    message_count = 2.0
    messages = ['325935', '327381']
    nosy_count = 2.0
    nosy_names = ['asvetlov', 'travisoneill']
    pr_nums = ['9464']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue34758'
    versions = ['Python 3.8']

    @travisoneill
    Copy link
    Mannequin Author

    travisoneill mannequin commented Sep 21, 2018

    Mimetype is set to application/octet-stream for .wasm files instead of the correct application/wasm. This causes streaming compile feature to fail (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/instantiateStreaming).

    @travisoneill travisoneill mannequin added 3.7 (EOL) end of life stdlib Python modules in the Lib dir labels Sep 21, 2018
    @asvetlov
    Copy link
    Contributor

    asvetlov commented Oct 9, 2018

    New changeset 199a280 by Andrew Svetlov (travisoneill) in branch 'master':
    bpo-34758: add .wasm to recognized file extensions in mimetypes module (GH-9464)
    199a280

    @asvetlov asvetlov added 3.8 only security fixes and removed 3.7 (EOL) end of life labels Oct 9, 2018
    @asvetlov asvetlov closed this as completed Oct 9, 2018
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant