Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pump, Cedric
lab-tracing
Commits
34fef52e
Commit
34fef52e
authored
Dec 26, 2020
by
Nane Kratzke
Browse files
allow redirects
parent
0a183c08
Changes
1
Hide whitespace changes
Inline
Side-by-side
hiphop/service.py
View file @
34fef52e
...
...
@@ -32,7 +32,8 @@ def index():
def
hip
():
r
=
""
try
:
r
=
requests
.
get
(
f
"http://
{
service
}
-
{
tier
+
1
}
"
).
content
r
=
requests
.
get
(
f
"http://
{
service
}
-
{
tier
+
1
}
"
,
allow_redirects
=
True
).
content
print
(
r
)
r
=
f
"-
{
r
}
"
except
Exception
as
ex
:
print
(
ex
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment