1. 19 Haz, 2018 1 kayıt (commit)
  2. 18 Haz, 2018 1 kayıt (commit)
  3. 29 May, 2018 1 kayıt (commit)
  4. 22 Nis, 2018 1 kayıt (commit)
  5. 15 Nis, 2018 1 kayıt (commit)
    • Alex Gaynor's avatar
      Removed a confusing line from a docstring in http.cookies (GH-6482) · afbbac12
      Alex Gaynor yazdı
      There's no reason a cookie should _ever_ contain pickled data. That's just asking for a critical security vulnerability. Back in Python2 there were helpers for doing that, but they're no more in Python3. Now coded_value is used when the value needs to be encoded for any reason.
      afbbac12
  6. 07 Nis, 2018 1 kayıt (commit)
  7. 23 Mar, 2018 1 kayıt (commit)
  8. 27 Ock, 2018 1 kayıt (commit)
    • Christian Heimes's avatar
      bpo-31399: Let OpenSSL verify hostname and IP address (#3462) · 61d478c7
      Christian Heimes yazdı
      bpo-31399: Let OpenSSL verify hostname and IP
      
      The ssl module now uses OpenSSL's X509_VERIFY_PARAM_set1_host() and
      X509_VERIFY_PARAM_set1_ip() API to verify hostname and IP addresses.
      
      * Remove match_hostname calls
      * Check for libssl with set1_host, libssl must provide X509_VERIFY_PARAM_set1_host()
      * Add documentation for OpenSSL 1.0.2 requirement
      * Don't support OpenSSL special mode with a leading dot, e.g. ".example.org" matches "www.example.org". It's not standard conform.
      * Add hostname_checks_common_name
      Signed-off-by: 's avatarChristian Heimes <christian@python.org>
      61d478c7
  9. 14 Ara, 2017 1 kayıt (commit)
  10. 06 Kas, 2017 1 kayıt (commit)
    • Nir Soffer's avatar
      bpo-31945: Configurable blocksize in HTTP(S)Connection (#4279) · ad455cd9
      Nir Soffer yazdı
      blocksize was hardcoded to 8192, preventing efficient upload when using
      file-like body. Add blocksize argument to __init__, so users can
      configure the blocksize to fit their needs.
      
      I tested this uploading data from /dev/zero to a web server dropping the
      received data, to test the overhead of the HTTPConnection.send() with a
      file-like object.
      
      Here is an example 10g upload with the default buffer size (8192):
      
      $ time ~/src/cpython/release/python upload-httplib.py 10 https://localhost:8000/
      Uploaded 10.00g in 17.53 seconds (584.00m/s)
      
      real	0m17.574s
      user	0m8.887s
      sys	0m5.971s
      
      Same with 512k blocksize:
      
      $ time ~/src/cpython/release/python upload-httplib.py 10 https://localhost:8000/
      Uploaded 10.00g in 6.60 seconds (1551.15m/s)
      
      real	0m6.641s
      user	0m3.426s
      sys	0m2.162s
      
      In real world usage the difference will be smaller, depending on the
      local and remote storage and the network.
      
      See https://github.com/nirs/http-bench for more info.
      ad455cd9
  11. 26 Eki, 2017 1 kayıt (commit)
  12. 14 Eyl, 2017 1 kayıt (commit)
  13. 07 Eyl, 2017 1 kayıt (commit)
  14. 24 May, 2017 1 kayıt (commit)
  15. 19 May, 2017 1 kayıt (commit)
  16. 04 May, 2017 1 kayıt (commit)
  17. 24 Nis, 2017 1 kayıt (commit)
  18. 02 Nis, 2017 1 kayıt (commit)
  19. 13 Ock, 2017 1 kayıt (commit)
  20. 16 Ara, 2016 1 kayıt (commit)
  21. 19 Kas, 2016 1 kayıt (commit)
  22. 21 Eki, 2016 1 kayıt (commit)
  23. 11 Eyl, 2016 1 kayıt (commit)
  24. 10 Eyl, 2016 2 kayıt (commit)
  25. 08 Eyl, 2016 1 kayıt (commit)
  26. 07 Eyl, 2016 1 kayıt (commit)
  27. 08 Eyl, 2016 1 kayıt (commit)
  28. 03 Eyl, 2016 1 kayıt (commit)
  29. 30 Agu, 2016 1 kayıt (commit)
  30. 27 Agu, 2016 1 kayıt (commit)
  31. 26 Agu, 2016 1 kayıt (commit)
  32. 24 Agu, 2016 1 kayıt (commit)
    • Martin Panter's avatar
      Issue #12319: Support for chunked encoding of HTTP request bodies · 3c0d0baf
      Martin Panter yazdı
      When the body object is a file, its size is no longer determined with
      fstat(), since that can report the wrong result (e.g. reading from a pipe).
      Instead, determine the size using seek(), or fall back to chunked encoding
      for unseekable files.
      
      Also, change the logic for detecting text files to check for TextIOBase
      inheritance, rather than inspecting the “mode” attribute, which may not
      exist (e.g. BytesIO and StringIO).  The Content-Length for text files is no
      longer determined ahead of time, because the original logic could have been
      wrong depending on the codec and newline translation settings.
      
      Patch by Demian Brecht and Rolf Krahl, with a few tweaks by me.
      3c0d0baf
  33. 10 Tem, 2016 2 kayıt (commit)
  34. 08 Haz, 2016 1 kayıt (commit)
  35. 26 May, 2016 1 kayıt (commit)
  36. 08 May, 2016 1 kayıt (commit)
  37. 29 Nis, 2016 1 kayıt (commit)
  38. 18 Nis, 2016 1 kayıt (commit)