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

Fix pywwt on notebook >=5.7.6 #192

Merged
merged 1 commit into from
Apr 9, 2019
Merged

Commits on Apr 9, 2019

  1. Fix pywwt on notebook >=5.7.6

    Version 5.7.6 of the Jupyter notebook module adds a new security feature
    related to the HTTP content types
    (jupyter/notebook#4467 (comment)). It
    breaks pywwt because pywwt has not been returning valid MIME types (AKA
    content types) from its internal Jupyter server.
    
    From looking at the main `notebook` implementation, it seems that the correct
    approach is to use the `mimetypes` module to get the right value to put in the
    Content-Type header, so let's go ahead and do that.
    
    Closes WorldWideTelescope#191.
    pkgw committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    d1b9f42 View commit details
    Browse the repository at this point in the history