Skip to content

Commit

Permalink
fix(webconnectivity): header_match => headers_match
Browse files Browse the repository at this point in the history
Spotted while comparing with Measurement Kit.

Part of #810.
  • Loading branch information
bassosimone committed Aug 13, 2020
1 parent e403704 commit cdb1ebc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion QA/webconnectivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def webconnectivity_transparent_http_proxy(ooni_exe, outfile):
assert tk["body_length_match"] == True
assert tk["body_proportion"] == 1
assert tk["status_code_match"] == True
assert tk["header_match"] == True
assert tk["headers_match"] == True
assert tk["title_match"] == True
assert tk["blocking"] == None
assert tk["accessible"] == True
Expand Down
2 changes: 1 addition & 1 deletion experiment/webconnectivity/httpanalysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type HTTPAnalysisResult struct {
BodyLengthMatch *bool `json:"body_length_match"`
BodyProportion *float64 `json:"body_proportion"`
StatusCodeMatch *bool `json:"status_code_match"`
HeadersMatch *bool `json:"header_match"`
HeadersMatch *bool `json:"headers_match"`
TitleMatch *bool `json:"title_match"`
}

Expand Down

0 comments on commit cdb1ebc

Please sign in to comment.