setting content-length header on DummyResponse