backports.method_request
Project description
backports.method_request
A backport of the urllib.request.MethodRequest class from Python 3.4 which allows overriding of the method in a class attribute or as a keyword parameter to the initializer.
See Python 18978 for details.
Works on Python 2.6 and later.
Usage
Use method_request.Request in place of urllib.request.Request:
from backports.method_request import Request req = Request(..., method='PATCH') resp = urllib.request.urlopen(req) ...
1.0
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for backports.method_request-1.0.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07d1eca98667637ce66203d2cad545cdbf71b3250b1d35d0fc99cabf19dd5362 |
|
MD5 | f68f4c0f45e6b9f8ef0e4534e54448fa |
|
BLAKE2b-256 | 3dadea3916c21881c3b1580a009a0e010c7da532e3c7ecc4ecc2f7cac59965ba |