chore: add URL to reportTraffic output
This commit is contained in:
parent
dc50fd882c
commit
324ed9a7e3
1 changed files with 2 additions and 1 deletions
|
@ -1329,7 +1329,8 @@ fn reportTraffic(
|
||||||
}
|
}
|
||||||
try writer.print("\tContent-Type: {s}\n\n", .{request.content_type});
|
try writer.print("\tContent-Type: {s}\n\n", .{request.content_type});
|
||||||
|
|
||||||
_ = try writer.write("Request Body:\n");
|
try writer.print("Request URL: {s}\n", .{request.path});
|
||||||
|
try writer.writeAll("Request Body:\n");
|
||||||
try writer.print("-------------\n{s}\n", .{request.body});
|
try writer.print("-------------\n{s}\n", .{request.body});
|
||||||
_ = try writer.write("-------------\n");
|
_ = try writer.write("-------------\n");
|
||||||
_ = try writer.write("Response Headers:\n");
|
_ = try writer.write("Response Headers:\n");
|
||||||
|
|
Loading…
Add table
Reference in a new issue