FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-http-client/python_http_client/__init__.py at main · bcvandendool/python-http-client · GitHub
bcvandendool
/
python-http-client
Public
forked from
sendgrid/python-http-client
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-http-client
/
python_http_client
/
__init__.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (20 loc) · 604 Bytes
Breadcrumbs
python-http-client
/
python_http_client
/
__init__.py
Copy path
File metadata and controls
23 lines (20 loc) · 604 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import
os
from
.
client
import
Client
# noqa
from
.
exceptions
import
(
# noqa
HTTPError
,
BadRequestsError
,
UnauthorizedError
,
ForbiddenError
,
NotFoundError
,
MethodNotAllowedError
,
PayloadTooLargeError
,
UnsupportedMediaTypeError
,
TooManyRequestsError
,
InternalServerError
,
ServiceUnavailableError
,
GatewayTimeoutError
)
dir_path
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
if
os
.
path
.
isfile
(
os
.
path
.
join
(
dir_path
,
'VERSION.txt'
)):
with
open
(
os
.
path
.
join
(
dir_path
,
'VERSION.txt'
))
as
version_file
:
__version__
=
version_file
.
read
().
strip
()
Back
|
FazBrowse Home
|
New Git URL