File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ def options():
167167 global mmSelect
168168 global dbPort
169169 global requestHeaders
170- requestHeaders = {}
170+ requestHeaders = {}
171171
172172 #Set default value if needed
173173 if optionSet [0 ] == False :
@@ -287,6 +287,7 @@ def options():
287287 if httpMethod == "1" :
288288 httpMethod = "GET"
289289 print "GET request set"
290+ requestHeaders = {}
290291 optionSet [3 ] = True
291292
292293 elif httpMethod == "2" :
@@ -368,8 +369,8 @@ def options():
368369 httpMethod = optList [3 ]
369370 myIP = optList [4 ]
370371 myPort = optList [5 ]
371- verb = optList [6 ]
372- https = optList [7 ]
372+ verb = optList [6 ]
373+ https = optList [7 ]
373374
374375 if httpMethod == "POST" :
375376 postData = ast .literal_eval (csvOpt [1 ])
You can’t perform that action at this time.
0 commit comments