From e430ec198192df532dccab489afdd25cf17e73e4 Mon Sep 17 00:00:00 2001 From: Aaron Manaloto Date: Tue, 5 Sep 2023 17:50:20 +0800 Subject: [PATCH] Add accept header and bump version to 0.0.4 --- burp-dradis.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/burp-dradis.rb b/burp-dradis.rb index d7a6db9..adcc5c1 100755 --- a/burp-dradis.rb +++ b/burp-dradis.rb @@ -62,7 +62,7 @@ class BurpExtender module META NAME = 'Dradis Framework connector' TAB_CAPTION = 'Dradis Framework' - VERSION = '0.0.3' + VERSION = '0.0.4' end @@ -403,6 +403,7 @@ def build_http_request(uri, token, payload) request = [] request << "POST #{path} HTTP/1.1" request << "Host: #{host}" + request << 'Accept: */*' request << "Content-Type: application/json" request << "Content-Length: #{payload.bytesize}"