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

Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
This commit is contained in:
Jens Claes
2020-08-21 16:42:41 +02:00
committed by GitHub
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(),
)