Comments (4)
I think this RouteDispatcher
thing is great! But I’d prefer to omit it from the MockWebServer library. If you’d like to do a new library, please do!
from okhttp.
We aren't very actively improving MockWebServer. If you find features that you need in Wiremock, it's probably better to go with that rather than going through the ringer of a big feature change to MockWebServer.
cc @swankjesse thoughts?
from okhttp.
That is a pity, MockWebServer, in my opinion, is by far more convenient and it does not have tons of dependencies.
from okhttp.
OK. At the moment I am going to keep this at a shared library for test in my company, if you reconsider adding a route dispacher, let me know. I could do a pull request with tested RouteDispacher.
from okhttp.
Related Issues (20)
- Why there is no 4.11.0 release branch? HOT 3
- Crash unable to load publicsuffixes.gz resource from the classpath. HOT 1
- Why wildcard like "*.example.com" of hosts is used in Certificate Pinning HOT 2
- Certificate Pinning disable opportunity. HOT 1
- toCanonicalHost() HOT 11
- API suggestion: `buildMockResponse { }` HOT 2
- Fix HttpOverHttp2Test flakes and bad cache behaviour HOT 1
- Should SSLContext construction be deferred during OkHttpClient construction HOT 2
- Unexpected random crashes with java.lang.IllegalStateException: Unbalanced enter/exit HOT 8
- HTTPS request throught Proxy not working (but working fine with java.net) HOT 10
- Flaky test report
- IOException with "Connection reset" message causes loss of requests HOT 3
- Connection pool biased towards slow connections HOT 5
- Please build a new release of version 5 with fix https://github.com/square/okhttp/issues/8154 HOT 1
- removeHeader is not removing header HOT 1
- Get error when using okhttp4 and okio-3 HOT 2
- Inject a `Clock` to make `HttpLoggingInterceptor` easier to use in tests. HOT 2
- EOF exception while trying to close the websocket HOT 5
- Security issue: Information Exposure HOT 1
- Feature Request: Add decoders for `MultipartBody` and `FormBody` to `MockWebServer` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from okhttp.