unstale

pypi / geventhttpclient

geventhttpclient

What changed in geventhttpclient 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

9 breaking2 deprecations2 new APIs and options2 behavior and defaults5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

geventhttpclient 220 changes

Breaking changes 9

  • check_hostname now defaults to True.

    2.6.0release notes

  • The minimum required gevent version is now 25.9, the first release with wheels for Python 3.11–3.14.

    2.6.0release notes

  • Header field names and values are now str instead of bytes.

    2.6.0release notes

  • Headers.iget() has been removed.

    2.6.0release notes

  • Headers.iteroriginal() has been removed.

    2.6.0release notes

  • Multi-value headers now send one field line per element.

    2.6.0release notes

  • The oauth2 extra has been removed.

    2.6.0release notes

  • Redirect behavior was updated for HTTP conformance to RFC 9110, 3986, and 2965.

    2.6.0release notes

  • Retries after a transmission error are now limited to idempotent methods.

    2.6.0release notes

Deprecations 2

  • cert_file is deprecated in favour of a custom SSL context.

    2.6.0release notes

  • key_file is deprecated in favour of a custom SSL context.

    2.6.0release notes

New APIs and options 2

  • BasicAuth is now available as a first-class authentication feature.

    2.6.0release notes

  • An httpx-compatible drop-in surface is now available.

    2.6.0release notes

Behavior and default changes 2

  • Request-head validation was updated as part of HTTP conformance work.

    2.6.0release notes

  • The response surface is now requests-compatible.

    2.6.0release notes

Fixes and other changes 5

  • Python 3.15 is explicitly supported, with cp315 wheels built and shipped alongside wheels for Python 3.11–3.14.

    2.6.1release notes

  • Empty responses through the httplib shim are fixed.

    2.6.0release notes

  • Semicolon path parameters are preserved in requests and redirects.

    2.6.0release notes

  • Requests with body=None are now treated as having no body, avoiding chunked transfer and a keep-alive delay caused by a separate terminating write.

    2.5.1release notes

  • An explicitly requested chunked request with an empty body is sent with the request headers in a single sendall(), avoiding a Nagle stall.

    2.5.1release notes