BentoML icon indicating copy to clipboard operation
BentoML copied to clipboard

grpc: specific content type

Open aarnphm opened this issue 3 years ago • 0 comments

Describe the bug

Currently, content type for grpc are being set via our interceptor to application/grpc. While this conform with gRPC standard, this is not really useful for sysadmin. We should specify the correct CONTENT_TYPE for any given request.

Currently each io descriptor as _rpc_content_type, this should be specific to each IO descriptor.

Access log should use this to determine the appropriate content-type

aarnphm avatar Sep 12 '22 22:09 aarnphm