Skip to content

Commit ace6864

Browse files
Exclude response, request data from result (#1944)
1 parent 9e78dc7 commit ace6864

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

runner/types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ type Result struct {
5353
Scheme string `json:"scheme,omitempty" csv:"scheme" mapstructure:"scheme"`
5454
Error string `json:"error,omitempty" csv:"error" mapstructure:"error"`
5555
WebServer string `json:"webserver,omitempty" csv:"webserver" mapstructure:"webserver"`
56-
ResponseBody string `json:"body,omitempty" csv:"body" mapstructure:"body"`
56+
ResponseBody string `json:"body,omitempty" csv:"-" mapstructure:"body"`
5757
BodyPreview string `json:"body_preview,omitempty" csv:"body_preview" mapstructure:"body_preview"`
5858
ContentType string `json:"content_type,omitempty" csv:"content_type" mapstructure:"content_type"`
5959
Method string `json:"method,omitempty" csv:"method" mapstructure:"method"`
@@ -64,9 +64,9 @@ type Result struct {
6464
FaviconPath string `json:"favicon_path,omitempty" csv:"favicon_path" mapstructure:"favicon_path"`
6565
FaviconURL string `json:"favicon_url,omitempty" csv:"favicon_url" mapstructure:"favicon_url"`
6666
FinalURL string `json:"final_url,omitempty" csv:"final_url" mapstructure:"final_url"`
67-
ResponseHeaders map[string]interface{} `json:"header,omitempty" csv:"header" mapstructure:"header"`
68-
RawHeaders string `json:"raw_header,omitempty" csv:"raw_header" mapstructure:"raw_header"`
69-
Request string `json:"request,omitempty" csv:"request" mapstructure:"request"`
67+
ResponseHeaders map[string]interface{} `json:"header,omitempty" csv:"-" mapstructure:"header"`
68+
RawHeaders string `json:"raw_header,omitempty" csv:"-" mapstructure:"raw_header"`
69+
Request string `json:"request,omitempty" csv:"-" mapstructure:"request"`
7070
ResponseTime string `json:"time,omitempty" csv:"time" mapstructure:"time"`
7171
JarmHash string `json:"jarm_hash,omitempty" csv:"jarm_hash" mapstructure:"jarm_hash"`
7272
ChainStatusCodes []int `json:"chain_status_codes,omitempty" csv:"chain_status_codes" mapstructure:"chain_status_codes"`

0 commit comments

Comments
 (0)