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

Fix "Headers not loaded after saving" (aka bug-66) #68

merged 1 commit into from Jun 29, 2018
Jump to file or symbol
Failed to load files and symbols.
+6 −0
Diff settings


Just for now

Fix "Headers not loaded after saving" (aka bug-66)

  • Loading branch information...
JeromeNaucelle committed Jun 27, 2018
commit a56e9a503dd228e26d38e2add4fb5717f92a145b
@@ -367,9 +367,15 @@ def options():
myPort = optList[5]
verb = optList[6]
https = optList[7]
# saved headers position will depend of the request verb
headersPos= 1
if httpMethod == "POST":
postData = ast.literal_eval(csvOpt[1])
headersPos = 2
requestHeaders = ast.literal_eval(csvOpt[headersPos])
# Set option checking array based on what was loaded
x = 0
ProTip! Use n and p to navigate between commits in a pull request.