File without a newline at the end throws error.
Closed this issue · 1 comments
jackcogdill commented
If the file specified with --file=
does not have a newline at the end, the program throws the error: [-] Wrong HTTP file format.
I believe it is on this line of code:
Line 246 in 8c5c70e
It seems that the line number in the file does not exist, so it throws an error.
Putting an extra newline at the end of my file fixed the error.
jackcogdill commented
Actually, I realized my request didn't have a newline in between the headers and payload .__.
Makes sense.