| skipped 57 lines |
58 | 58 | | if not queryFlag: |
59 | 59 | | # fix missing carriage return on *NIX systems |
60 | 60 | | replaceStringLines = self.replaceString.getText().split("\n") |
61 | | - | |
62 | 61 | | for h in replaceStringLines: |
63 | | - | headers.append(h) |
| 62 | + | if h == "": # Logic to fix extraneous newline at the end of requests when no temporary headers are added |
| 63 | + | pass |
| 64 | + | else: |
| 65 | + | headers.append(h) |
64 | 66 | | |
65 | 67 | | msgBody = messageInfo.getRequest()[requestInfo.getBodyOffset():] |
66 | 68 | | |
| skipped 75 lines |