#2 added "after" middleware that add Content-Length to headers
record HTTP interactions in Endpoints test