Closed
Description
https://github.com/grpc/grpc-common/blob/master/PROTOCOL-HTTP2.md#appendix-a---grpc-for-protobuf says grpc protobuf mapping uses service names as paths. Would it be possible to serve web content from other urls?
I see TLS side does alpn, so that's an easy place to hook up.
Any thoughts about non-TLS? e.g. a service running on localhost. Of course that would mean needing to do a http/1 upgrade negotiation, as then the port could not default to http/2.
Use case 1: host a web application and its api on the same port.
Use case 2: serve a health check response.
Use case 3: serve a "nothing to see here" html page.
Use case 4: serve a /robots.txt file.
Metadata
Metadata
Assignees
Labels
No labels