fix(transport): Add content-type for Unimplemented (#434)

Co-authored-by: Lucio Franco <[email protected]>
This commit is contained in:
Jens Claes
2020-08-21 10:42:41 -04:00
committed by GitHub
co-authored by Lucio Franco
parent bec4936daf
commit 594a542b8a
+1
View File
@@ -633,6 +633,7 @@ impl Service<Request<Body>> for Unimplemented {
http::Response::builder()
.status(200)
.header("grpc-status", "12")
.header("content-type", "application/grpc")
.body(BoxBody::empty())
.unwrap(),
)