Skip to content

Commit 114c44c

Browse files
committed
fix duplicate status code
1 parent 3302e6e commit 114c44c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/http-parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export class HarParser implements HttpParser<HarEntry> {
155155
return "No response received\r\n";
156156
}
157157

158-
const statusLine = `${entry.response.httpVersion} ${entry.response.status} ${entry.response.statusText}`;
158+
const statusLine = `${entry.response.httpVersion} ${entry.response.statusText}`;
159159
const headers = entry.response.headers.map((h) => `${h.name}: ${h.value}`).join("\r\n");
160160
const body = entry.response.content?.text || "";
161161

0 commit comments

Comments
 (0)