Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #6 from e98cuenc/patch-3

Support query arguments in the URL
  • Loading branch information...
commit ca9731341c062ea70f174df611f07a7f0f38a66a 2 parents 7462bcb + becd18a
@mnaberez mnaberez authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 superlance/httpok.py
View
9 superlance/httpok.py
@@ -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
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.