Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
36.7k
Star
77.3k
Code
Issues
5k+
Pull requests
2.7k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
urllib
response.py
on
3.11
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 13, 2019
bpo-12707: deprecate info(), geturl(), getcode() methods in favor of headers, url, and status properties for HTTPResponse and addinfourl (GH-11447)
Show description for ff2e182
epicfaace
authored and
matrixise
committed
ff2e182
View commit details
Copy full SHA for ff2e182
View code at this point
Browse repository at this point
Commits on Apr 10, 2015
Issue #23865: close() methods in multiple modules now are idempotent and more
Show description for 7e7a3db
serhiy-storchaka
committed
7e7a3db
View commit details
Copy full SHA for 7e7a3db
View code at this point
Browse repository at this point
Commits on Apr 20, 2014
urllib.response object to use _TemporaryFileWrapper (and _TemporaryFileCloser)
Show description for 6117e5d
orsenthil
committed
6117e5d
View commit details
Copy full SHA for 6117e5d
View code at this point
Browse repository at this point
Commits on Mar 15, 2012
port from 3.2 - Fix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes issue11199
orsenthil
committed
3270d11
View commit details
Copy full SHA for 3270d11
View code at this point
Browse repository at this point
closes Issue #11199: Fix the with urllib which hangs on particular ftp urls.
orsenthil
committed
73277fe
View commit details
Copy full SHA for 73277fe
View code at this point
Browse repository at this point
Commits on Jun 26, 2011
Issue #4608: urllib.request.urlopen does not return an iterable object
rhettinger
committed
29e2c64
View commit details
Copy full SHA for 29e2c64
View code at this point
Browse repository at this point
Issue #4608: urllib.request.urlopen does not return an iterable object
rhettinger
committed
038018a
View commit details
Copy full SHA for 038018a
View code at this point
Browse repository at this point
Commits on Mar 15, 2011
Be more thorough in blanking out methods grabbed off of an fp.
brettcannon
committed
e73b2bb
View commit details
Copy full SHA for e73b2bb
View code at this point
Browse repository at this point
Commits on Mar 26, 2009
Add __enter__ and __exit__ methods to addbase() so that it supports with.
Show description for b476d59
jeremyhylton
committed
b476d59
View commit details
Copy full SHA for b476d59
View code at this point
Browse repository at this point
Commits on Feb 11, 2009
Issue #4631: Fix urlopen() result when an HTTP response uses chunked encoding.
pitrou
committed
b353c12
View commit details
Copy full SHA for b353c12
View code at this point
Browse repository at this point
Commits on Jun 18, 2008
Make a new urllib package .
Show description for 1afc169
jeremyhylton
committed
1afc169
View commit details
Copy full SHA for 1afc169
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.