How can I delay a Square MockWebServer HTTP response?
There is a response.setBodyDelayTimeMs(...);
method but this is only used in SpdySocketHandler and not for HTTP requests.
That's a bug that we OkHttp maintainers need to fix. If you report it on our issue tracker, we'll tale care of it. Or better yet, send us a pull request!