Hi,
On Thu, 31 Jul 2014 14:05:49 +0200 Arturo Filastò art@torproject.org wrote:
On 7/24/14, 2:52 PM, jony-port@bitmessage.ch wrote:
It seems that the single response of the http_requests requests test results in 'body_length_match' and 'headers_match' fields set to true.
Yes that is correct. Those values are initialized to none and if a response is received for both control and experiment they are set to either true or false.
But when there is only one request this should never be as true, since there is only one request, thus nothing to compare with or I miss anything?
From my understanding a single response request should raise an error set by the 'control_failure' or 'experiment_failure' field.
Yes that is correct, when a control or experiment request fails the relative key will be set with the error message.
For the list of error strings you should see:
https://gitweb.torproject.org/ooni/spec.git/blob/HEAD:/data-formats/df-000-b...
I can't find the error string when there is only a single request instead of two, as the http_requests test case implies.