Skip to content

Commit

Permalink
Merge pull request #5 from dradis/add-accept-header
Browse files Browse the repository at this point in the history
Add accept header and bump version to 0.0.4
  • Loading branch information
aapomm authored Sep 6, 2023
2 parents ce34587 + e430ec1 commit 9af0637
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion burp-dradis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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}"

Expand Down

0 comments on commit 9af0637

Please sign in to comment.