主权项 |
1. A method comprising:
receiving, by a hypertext transfer protocol version 2 (HTTP/2)-hypertext transfer protocol version 1 (HTTP/1) proxy, an HTTP/2 request message from an HTTP/2-enabled client and directed to an HTTP/1-only server; translating, by the HTTP/2-HTTP/1 proxy, the HTTP/2 request message into an HTTP/1 request message; sending, by the HTTP/2-HTTP/1 proxy, the HTTP/1 request message to the HTTP/1-only server; receiving, by the HTTP/2-HTTP/1 proxy, an HTTP/1 response message from the HTTP/1-only server; translating, by the HTTP/2-HTTP/1 proxy, the HTTP/1 response message into an HTTP/2 response message; and sending, by the HTTP/2-HTTP/1 proxy, the HTTP/2 response message to the HTTP/2-enabled client. |