Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support query arguments in the URL #6

Merged
merged 2 commits into from Aug 27, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 4 additions & 5 deletions superlance/httpok.py
Expand Up @@ -140,8 +140,10 @@ def runforever(self, test=False):
scheme = parsed[0].lower()
hostport = parsed[1]
path = parsed[2]
params = parsed[3]
query = parsed[4]
query = parsed[3]

if query:
path += '?' + query

if self.connclass:
ConnClass = self.connclass
Expand All @@ -167,9 +169,6 @@ def runforever(self, test=False):
conn = ConnClass(hostport)
conn.timeout = self.timeout

if query:
path += '?' + query

act = False

specs = self.listProcesses(ProcessStates.RUNNING)
Expand Down