-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
component/kubernetes-server-mockDeals with the kubernetes-server-mock directory mainlyDeals with the kubernetes-server-mock directory mainlycomponent/openshift-server-mockDeals with the openshift-server-mockDeals with the openshift-server-mockstatus/never-stale
Milestone
Description
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.
Metadata
Metadata
Assignees
Labels
component/kubernetes-server-mockDeals with the kubernetes-server-mock directory mainlyDeals with the kubernetes-server-mock directory mainlycomponent/openshift-server-mockDeals with the openshift-server-mockDeals with the openshift-server-mockstatus/never-stale