[ooni-dev] http_requests test single responses
jony-port at bitmessage.ch
jony-port at bitmessage.ch
Thu Jul 24 12:52:51 UTC 2014
Hi,
It seems that the single response of the http_requests requests
test results in 'body_length_match' and 'headers_match' fields set to true.
From my understanding a single response request should raise an error
set by the 'control_failure' or 'experiment_failure' field.
An example of the described issue:
---
agent: agent
body_length_match: true
body_proportion: 1.0
control_failure: null
experiment_failure: null
factor: 0.8
headers_diff: !!set {}
headers_match: true
input: http://beemp3.com/
requests:
- request:
body: null
headers:
- - User-Agent
- ['Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2)
Gecko/20100115 Firefox/3.6']
method: GET
tor: {is_tor: false}
url: http://beemp3.com/
response:
body: "<html>\r\n<head><title>301 Moved
Permanently</title></head>\r\n<body bgcolor=\"\
white\">\r\n<center><h1>301 Moved
Permanently</h1></center>\r\n<hr><center>nginx/1.2.7</center>\r\
\n</body>\r\n</html>\r\n" code: 301 headers:
- - Content-Length
- ['184']
- - Server
- [nginx/1.2.7]
- - Connection
- [close]
- - Location
- ['http://beemp3s.org/']
- - Date
- ['Tue, 17 Jun 2014 20:32:43 GMT']
- - Content-Type
- [text/html]
socksproxy: null
...
---
More information about the ooni-dev
mailing list