Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
dmlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
domotika
dmlib
Commits
bd3a5c82
Commit
bd3a5c82
authored
Feb 18, 2014
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a redirect loop
parent
72132f93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
webutils.py
dmlib/utils/webutils.py
+2
-0
No files found.
dmlib/utils/webutils.py
View file @
bd3a5c82
...
...
@@ -149,6 +149,8 @@ class HTTPPageGetter(client.HTTPPageGetter):
self
.
handleStatusDefault
()
return
url
=
l
[
0
]
if
self
.
factory
.
path
==
url
and
self
.
factory
.
method
==
"POST"
:
self
.
factory
.
method
=
"GET"
if
self
.
followRedirect
:
scheme
,
host
,
port
,
path
=
\
client
.
_parse
(
url
,
defaultPort
=
self
.
transport
.
getPeer
()
.
port
)
...
...
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