aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/044-specs/http_check.py
diff options
context:
space:
mode:
Diffstat (limited to 'research/experiments/044-specs/http_check.py')
-rw-r--r--research/experiments/044-specs/http_check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/research/experiments/044-specs/http_check.py b/research/experiments/044-specs/http_check.py
index e3982c3..305f783 100644
--- a/research/experiments/044-specs/http_check.py
+++ b/research/experiments/044-specs/http_check.py
@@ -137,7 +137,7 @@ def run(module, packets, env, work):
pairs = lambda fs: [(bytes.fromhex(f['name']), bytes.fromhex(f['value'])) for f in fs]
requests = [(bytes.fromhex(r['method']), bytes.fromhex(r['target']), r['minor'], pairs(r['fields']), bytes.fromhex(r['body']),
pairs(r['trailers'])) for r in s['requests']]
- left = bytes.fromhex(s['pending'][0]['data']) if s['pending'] else b''
+ left = bytes.fromhex(s['pending']) # a bytes state (028)
return out, (requests, left), any(json.loads(line)['fault'] != 'none' for line in out)