commit | f4b48f5fe859e86c16cc1cb01a697093ccd6ff75 | [log] [tgz] |
---|---|---|
author | Tobias Thierer <tobiast@google.com> | Fri Apr 05 23:08:50 2019 +0100 |
committer | Tobias Thierer <tobiast@google.com> | Mon Apr 08 17:50:12 2019 +0100 |
tree | 72415d0a139de1c4912607f02875205c03ea1879 | |
parent | 8b3f51d37e51d4407e4d95956e2b80b1f5b39d61 [diff] |
Let MockWebServer respect MockResponse.getBodyDelayTimeMs(). MockResponse has a field bodyDelayTimeMs to indicate a desired delay between the end of the headers being sent and the start of the response body being sent, but MockWebServer wasn't respecting it. This CL fixes that. Bug: 129771436 Test: URLConnectionTest on top of http://r.android.com/940893 Change-Id: I9cdc2f3fcbe22c90c5edbc5ed822f233d1120b11