Page MenuHomeSolus

Update python-mechanize to 0.4.3 & drop python2 support
ClosedPublic

Authored by kyrios123 on Oct 13 2019, 10:25 AM.
Tags
None
Referenced Files
F11070304: D7392.id17756.diff
Sat, Aug 12, 12:07 AM
F11070303: D7392.id17724.diff
Sat, Aug 12, 12:07 AM
F11052373: D7392.diff
Thu, Aug 10, 9:18 PM
F11007896: D7392.diff
Tue, Aug 1, 10:48 PM
F10850867: D7392.id17756.diff
Jun 12 2023, 7:40 AM
F10848001: D7392.id17724.diff
Jun 11 2023, 12:57 PM
F10833728: D7392.id17724.diff
Jun 7 2023, 1:41 AM
F10825802: D7392.diff
Jun 4 2023, 1:10 AM
Subscribers

Details

Summary
  • When filling forms with unicode strings automatically encode them into the correct encoding fr the HTML page being viewed
  • Guess content type when uploading files if not specified
  • py3 compat - Have the version of simple cookies be 0 rather than None
  • A couple of python 3 specific fixes for proxy authorization and adding controls to forms
  • A couple of python 3 specific fixes for servers with missing robots.txt files and also errors when using basic/digest auth
  • Python 3 compatibility
  • Add a finalize_request_headers callback to Browser to allow users full control of what headers are sent with every request
  • Preserve header ordering when making HTTP requests
  • Fix processing of http-equiv meta tags incorrectly lower casing the content
  • Fix error when a textbox contained within a form contains unicode characters

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan

Tested with calibre

Diff Detail

Repository
R2619 python-mechanize
Lint
Lint Not Applicable
Unit
Tests Not Applicable