diff --git a/pywb/recorder/recorderapp.py b/pywb/recorder/recorderapp.py index 1eb35ffe..5fb35eac 100644 --- a/pywb/recorder/recorderapp.py +++ b/pywb/recorder/recorderapp.py @@ -252,6 +252,10 @@ class RecorderApp(object): resp_iter = StreamIter(resp_stream) + # ensure TE header from upstream is not included, + # added automatically by wsgi app + res.headers.pop('Transfer-Encoding', '') + start_response('200 OK', list(res.headers.items())) return resp_iter