kubernetes-client icon indicating copy to clipboard operation
kubernetes-client copied to clipboard

MockWebServer HTTP/2 full support

Open manusa opened this issue 2 years ago • 1 comments

Description

Currently MockWebServer has partial support for HTTP/2 but provides incomplete handshakes. This seems to work for OkHttp, but not for other client implementations.

Provide an MockWebServer alternative with better support for HTTP/2

  • Implement a proper handshake response
    • onStream(Http2Stream stream)
    • readRequest(Http2Stream stream)
  • Remove hardcoded HTTP/1.1 protocol in the RecordedRequest

MockWebServer is final, however, maybe intercepting PRI method requests can help us deal with the problem.

manusa avatar Jun 08 '22 10:06 manusa

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar Sep 06 '22 17:09 stale[bot]