Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix everything() method #201

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Fix everything() method #201

merged 1 commit into from
Jan 6, 2025

Conversation

urschrei
Copy link
Owner

@urschrei urschrei commented Jan 6, 2025

Switching to httpx has required more strict handling of urls: httpx doesn't like you to combine query parameters in url strings with passed params (see encode/httpx#3433). This is annoying, but ultimately makes for a less confusing design. Unfortunately this doesn't play well with URL retrieved from "link" headers, which in our case always contain query parameters.

We now strip those and add them to a dict which we merge with our existing params dict, returning it and the truncated URL.

Closes #200

@urschrei urschrei merged commit d8dfff2 into main Jan 6, 2025
14 checks passed
@urschrei urschrei deleted the fix-everything-method branch January 11, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Endless loop with zotero.Zotero.everything(zot.top) from example code in version 1.6.2
1 participant