Skip to content
Myr

Docs: fix small typos in Extensions doc (#3138)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Michiel W. Beijen · committed by GitHub · parent 7354ed7 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Tom Christie <tom@tomchristie.com>

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/advanced/extensions.md+2 added-2 removed
1# Extensions23Request and response extensions provide a untyped space where additional information may be added.45Extensions should be used for features that may not be available on all transports, and that do not fit neatly into [the simplified request/response model](https://www.encode.io/httpcore/extensions/) that the underlying `httpcore` pacakge uses as it's API.5Extensions should be used for features that may not be available on all transports, and that do not fit neatly into [the simplified request/response model](https://www.encode.io/httpcore/extensions/) that the underlying `httpcore` package uses as its API.67Several extensions are supported on the request:89```python
228 unmodified lines
238 network_stream = response.extensions["network_stream"]239240 ssl_object = network_stream.get_extra_info("ssl_object")241 print("TLS version", ssl_object.version())242```242```