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

Remove chardet/charset-normalizer. Add fallback_charset_resolver ClientSession parameter. #7561

Merged

Commits on Aug 29, 2023

  1. Add 'fallback_encoding' to ClientSession

    Completely remove chardet and character set detection when content encoding is missing.
    
    remove charset-normalizer
    
    Document new parameter in ClientSession.
    
    Remove tests which specifically test encoding detection and replace with test that tests fallback function.
    
    Document get_encoding behavior with updated logic
    
    In documentation for text(), direct reader to refer to 'get_encoding' documentation if encoding is 'None'
    john-parton committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    ebf65e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a85c65 View commit details
    Browse the repository at this point in the history
  3. Update glossary entries for charset-normalizer and cchardet with note…

    … that they're in the glossary because they were previously used.
    john-parton committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    3335841 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6a173d7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a39683a View commit details
    Browse the repository at this point in the history
  6. Update docs/client_advanced.rst

    Co-authored-by: Sam Bull <aa6bs0@sambull.org>
    john-parton and Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    de6eacf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e9f919e View commit details
    Browse the repository at this point in the history
  8. Find/replace -> .

    john-parton committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    f9df6d2 View commit details
    Browse the repository at this point in the history
  9. Fix None error

    Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    1a3cb6c View commit details
    Browse the repository at this point in the history
  10. Doc fixes

    Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    e61a02a View commit details
    Browse the repository at this point in the history
  11. Nitpick

    Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    4f136c1 View commit details
    Browse the repository at this point in the history
  12. Update 7561.feature

    Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    98846f6 View commit details
    Browse the repository at this point in the history
  13. Fix random type error

    Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    eed6f0f View commit details
    Browse the repository at this point in the history
  14. Hack for tests

    Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    522724f View commit details
    Browse the repository at this point in the history
  15. Update client_reqrep.py

    Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    911cdc5 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7cdb499 View commit details
    Browse the repository at this point in the history
  17. Update client_reqrep.py

    Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    849a928 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    40f4821 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b6161ab View commit details
    Browse the repository at this point in the history
  20. Fix test

    Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    83802d3 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    527afdc View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    b512d76 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    ec5a67c View commit details
    Browse the repository at this point in the history
  24. Update client.py

    Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    f3d0e4f View commit details
    Browse the repository at this point in the history
  25. Update client_reqrep.py

    Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    ce8f59b View commit details
    Browse the repository at this point in the history
  26. Update 7561.feature

    Dreamsorcerer committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    f80d16e View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    f1f58d1 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    b459bbf View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    e1e8346 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    fe16619 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    ef83b00 View commit details
    Browse the repository at this point in the history