File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ def parse_request(input_var, url):
66
66
rtypeList = rtype_line .split (" " )
67
67
68
68
# Create a list of the headers:
69
+ # TODO Why would you do this rather than just have headerDict['Cookies'] = "PHPSESSID=5fffa5e6e11ddcf3c722533c14adc310"?
69
70
# headerList[0]['Key'] = "Cookies"
70
71
# headerList[0]['Value'] = "PHPSESSID=5fffa5e6e11ddcf3c722533c14adc310"
71
72
headerList = []
@@ -123,6 +124,7 @@ def parse_request(input_var, url):
123
124
124
125
else :
125
126
# Create a list of body values (check for JSON, etc)
127
+ # TODO again, why this rather than just a dict?
126
128
# bodyList[0]['Key'] = "username"
127
129
# bodyList[0]['Value'] = "mandatory"
128
130
body_var_List = body_data .split ("&" )
@@ -169,6 +171,7 @@ def parse_response(input_var, url):
169
171
rtypeList = rtype_line .split (" " )
170
172
171
173
# Create a list of the headers:
174
+ # TODO again, why this rather than just a dict?
172
175
# headerList[0]['Key'] = "Cookies"
173
176
# headerList[0]['Value'] = "PHPSESSID=5fffa5e6e11ddcf3c722533c14adc310"
174
177
headerList = []
You can’t perform that action at this time.
0 commit comments