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():
167
167
global mmSelect
168
168
global dbPort
169
169
global requestHeaders
170
- requestHeaders = {}
170
+ requestHeaders = {}
171
171
172
172
#Set default value if needed
173
173
if optionSet [0 ] == False :
@@ -287,6 +287,7 @@ def options():
287
287
if httpMethod == "1" :
288
288
httpMethod = "GET"
289
289
print "GET request set"
290
+ requestHeaders = {}
290
291
optionSet [3 ] = True
291
292
292
293
elif httpMethod == "2" :
@@ -368,8 +369,8 @@ def options():
368
369
httpMethod = optList [3 ]
369
370
myIP = optList [4 ]
370
371
myPort = optList [5 ]
371
- verb = optList [6 ]
372
- https = optList [7 ]
372
+ verb = optList [6 ]
373
+ https = optList [7 ]
373
374
374
375
if httpMethod == "POST" :
375
376
postData = ast .literal_eval (csvOpt [1 ])
You can’t perform that action at this time.
0 commit comments