From 560e23af092ab566e75060346ebde739ac07f179 Mon Sep 17 00:00:00 2001 From: Brad Peabody Date: Sat, 19 Jul 2014 19:10:14 -0700 Subject: fixed handling of Transfer-Encoding header during streaming; wrote tests for streaming support --- test/scripts/all.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/scripts/all.py') diff --git a/test/scripts/all.py b/test/scripts/all.py index 7d30d757..15a5fc02 100644 --- a/test/scripts/all.py +++ b/test/scripts/all.py @@ -15,6 +15,10 @@ def response(ctx, r): ctx.log("XRESPONSE") log.append("response") +def responseheaders(ctx, r): + ctx.log("XRESPONSEHEADERS") + log.append("responseheaders") + def clientdisconnect(ctx, cc): ctx.log("XCLIENTDISCONNECT") log.append("clientdisconnect") -- cgit v1.2.3 From 7398db80db004546070139c0c7e79bba4f92b318 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 20 Jul 2014 11:17:53 +0200 Subject: simplify responseheader scripthook --- test/scripts/all.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/scripts/all.py') diff --git a/test/scripts/all.py b/test/scripts/all.py index 15a5fc02..3acaf694 100644 --- a/test/scripts/all.py +++ b/test/scripts/all.py @@ -7,15 +7,15 @@ def serverconnect(ctx, cc): ctx.log("XSERVERCONNECT") log.append("serverconnect") -def request(ctx, r): +def request(ctx, f): ctx.log("XREQUEST") log.append("request") -def response(ctx, r): +def response(ctx, f): ctx.log("XRESPONSE") log.append("response") -def responseheaders(ctx, r): +def responseheaders(ctx, f): ctx.log("XRESPONSEHEADERS") log.append("responseheaders") -- cgit v1.2.3