Closed cjstehno closed 3 years ago
This work depends on #124 being done since the underlying server will need to be swapped out for a Netty server implementation. Support for HTTP/1.0 will also be required (#125) to meet the goal of testing Docker clients over unix file sockets, as will a means of specifying the server host explicitly as a file (which now defaults to localhost).
I am going to close this for now. A good API should allow for an alternate standard HTTP approach and this feature would not work on Windows, which brings additional challenges.
I'd like to have Ersatz work for HTTP over unix file socket (e.g. for docker client testing). The netty http client/server supports this but I would have to carve out the internal server and allow for swapping them out... or switch over to netty all the way.