Skip to content

Version 0.13.0 - #306

Merged
lovelydinosaur merged 1 commit into
masterfrom
version-0.13.0
Apr 21, 2021
Merged

Version 0.13.0#306
lovelydinosaur merged 1 commit into
masterfrom
version-0.13.0

Conversation

@lovelydinosaur

@lovelydinosaurlovelydinosaur commented Apr 21, 2021

Copy link
Copy Markdown
Member

Draft release: https://github.com/encode/httpcore/releases/tag/untagged-4e4fcbbf7fc89b686063

0.13.0 (April 21st, 2021)

The 0.13 release updates the core API in order to match the HTTPX Transport API,
introduced in HTTPX 0.18 onwards.

An example of making requests with the new interface is:

withhttpcore.SyncConnectionPool() ashttp:
status_code, headers, stream, extensions=http.handle_request(
method=b'GET',
url=(b'https', b'example.org', 443, b'/'),
headers=[(b'host', b'example.org'), (b'user-agent', b'httpcore')]
stream=httpcore.ByteStream(b''),
extensions={}
)
body=stream.read()
print(status_code, body)

Changed

Added

Fixed

@lovelydinosaurlovelydinosaur changed the title Version 0.13Version 0.13.0Apr 21, 2021
@lovelydinosaur

Copy link
Copy Markdown
MemberAuthor

Pushing on, pushing on.

@lovelydinosaur
lovelydinosaur merged commit 172fa35 into masterApr 21, 2021
@lovelydinosaur
lovelydinosaur deleted the version-0.13.0 branch April 21, 2021 12:25
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@lovelydinosaur