Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improvements to HTTP requests#1392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
max-wittig merged 2 commits intopython-gitlab:masterfrombbatliner:patch-1
Apr 23, 2021

Conversation

bbatliner
Copy link
Contributor

Two related commits thatfixed#1386 for me. Only the first commit is strictly necessary. The second is a "technically correct" fix so thathttp_request does not send extra query parameters.

Some arguments to `http_request` were being readfrom kwargs, but kwargs is where this functioncreates query parameters from, by default. Inthe absence of a `query_parameters` param, thefunction would construct URLs with queryparameters such as `retry_transient_errors=True`despite those parameters having no meaning tothe API to which the request was sent.This change names those arguments that arespecific to `http_request` so that they do notend up as query parameters read from kwargs.
@max-wittig
Copy link
Member

That's much nicer. Thanks 👍

@max-wittigmax-wittig merged commitcfc42d2 intopython-gitlab:masterApr 23, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JohnVillalovosJohnVillalovosJohnVillalovos approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Request URL is getting too long because of query_parameters
3 participants
@bbatliner@max-wittig@JohnVillalovos

[8]ページ先頭

©2009-2025 Movatter.jp