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

Allow decoding of application/json and application/javascript. #99

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 11, 2018

  1. Allow decoding of application/json.

    This will detect if the file is UTF-8, UTF-16, or UTF-32,
    and try and return the content decoded. It will allow use
    of the charset/ default_charset options.
    
    Also allow text/json (if UTF-8).
    dracos committed Mar 11, 2018
    Configuration menu
    Copy the full SHA
    421246d View commit details
    Browse the repository at this point in the history
  2. Allow decoding of application/javascript.

    This media type has a charset parameter as per RFC4329, so can
    be treated in the same way that XML is.
    dracos committed Mar 11, 2018
    Configuration menu
    Copy the full SHA
    3a6f948 View commit details
    Browse the repository at this point in the history