cjstehno / ersatz

🤖 A simulated HTTP server for testing client code with configurable responses.
https://cjstehno.github.io/ersatz
Apache License 2.0
47 stars 5 forks source link

Support for http 2 #73

Closed cjstehno closed 4 years ago

cjstehno commented 7 years ago

Undertow should already support this but I need to figure out how to enable and expose as an option.

cjstehno commented 7 years ago

I did the configuration work (see dev-http2 branch) and it was pretty easy; however, when trying to test it I realized that there is more to HTTP/2 than just a better underlying mechanism... it seems that there are changes in the way clients are used. I will need to do more research before moving forward with this.

One problem I ran into is whether the errors are caused by my server or my client... will need to do some testing against a known-good HTTP/2 server to make sure my client is correct.

Lastly, this work is needed to support HTTP/2 in HttpBuilder-NG.

cjstehno commented 6 years ago

This work may fall in line with the async request support in release 2.0

cjstehno commented 4 years ago

Going to close this until HTTP 2 becomes widespread enough to make this a valid issue.