Skip to content

Refactoring of models api - 2 - #1289

Closed
cdeler wants to merge 1 commit into
encode:masterfrom
cdeler:refactoring-public-model-api-v2
Closed

Refactoring of models api - 2#1289
cdeler wants to merge 1 commit into
encode:masterfrom
cdeler:refactoring-public-model-api-v2

Conversation

@cdeler

Copy link
Copy Markdown
Contributor

The second part of https://github.com/encode/httpx/issues/1275 changes (previous was merged)
What was done:

  • Renamed URL.full_path to .raw_path (now its returns no-unquoted bytes)
  • Made URL.userinfo return bytes instead of str
  • Made URL.query return bytes instead of str

Renamed URL.full_path to .raw_path (now its returns no-unquoted bytes)
Made URL.userinfo return bytes instead of str
Made URL.query return bytes instead of str
@cdeler
cdeler requested a review from a teamSeptember 14, 2020 13:27
@lovelydinosaur

Copy link
Copy Markdown
Contributor

@cdeler - Note that I've already got some work towards this in https://github.com/encode/httpx/pull/1285/files

@cdeler

Copy link
Copy Markdown
ContributorAuthor

@tomchristie
Sorry, I missed that, so closing this PR

@cdelercdeler closed this Sep 14, 2020
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.

2 participants

@cdeler@lovelydinosaur