aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index f5abb69..4ddc809 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -57,7 +57,7 @@ fn run_file(args: &Args, executor: &mut Executor, file_name: &String) {
.as_str(),
)
.expect("Failed to parse file");
- let response = executor.execute(bfile).unwrap();
+ let response = executor.execute(bfile, args.req_headers()).unwrap();
if args.print_headers() {
println!("{} {}", response.status(), response.status_text());