Skip to content

Improve API compatibility between URLFetcherResponse and addinfourl#2671

Merged
liZe merged 1 commit intomainfrom
fix-url-fetcher
Jan 27, 2026
Merged

Improve API compatibility between URLFetcherResponse and addinfourl#2671
liZe merged 1 commit intomainfrom
fix-url-fetcher

Conversation

@liZe
Copy link
Member

@liZe liZe commented Jan 27, 2026

Adding deprecated functions and using an integer for status in URLFetcherResponse increases the compatibility with urllib.response.addinfourl and external code that depends on that.

@liZe liZe added the feature New feature that should be supported label Jan 27, 2026
@jurriaan
Copy link
Contributor

Thanks a lot!

@liZe liZe merged commit 88abf87 into main Jan 27, 2026
17 checks passed
@liZe liZe deleted the fix-url-fetcher branch January 27, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature that should be supported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants