fix(transport): Add content-type for Unimplemented (#434)
Co-authored-by: Lucio Franco <[email protected]>
This commit is contained in:
co-authored by
Lucio Franco
parent
bec4936daf
commit
594a542b8a
@@ -633,6 +633,7 @@ impl Service<Request<Body>> for Unimplemented {
|
|||||||
http::Response::builder()
|
http::Response::builder()
|
||||||
.status(200)
|
.status(200)
|
||||||
.header("grpc-status", "12")
|
.header("grpc-status", "12")
|
||||||
|
.header("content-type", "application/grpc")
|
||||||
.body(BoxBody::empty())
|
.body(BoxBody::empty())
|
||||||
.unwrap(),
|
.unwrap(),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user