Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
gRPC content-type header cannot be set using the go grpc library - Cloudflare Developers
CD
Cloudflare Developers
โข
3y ago
โข
3 replies
parapenguin.
gRPC content-type header cannot be set using the go grpc library
Hi
, I
've been trying to setup a gRPC server behind a cloudflare proxy
. The documentation states that I need to set a content
-type header in my gRPC request and I
've been trying to do that
, but no luck
.
I
've followed a guide
(
https://www.inanzzz.com/index.php/post/7l4u/sending-and-receiving-grpc-client-server-headers-in-golang
) and the documentation
(
https://github.com/grpc/grpc-go/blob/master/Documentation/grpc-metadata.md
)
, but still the content
-type header refuses to send with my message
. Because the content
-type header is missing
, CF is rejecting my request
:
403
(Forbidden
)
; malformed header
: missing HTTP content
-type
Is there some other way I can set the content
-type header in the Go client
? I would expect this to be a solved problem already but I am struggling to find anything about it online
. Thanks
!
inanzzz | Sending and receiving gRPC client server headers in Golang
Sending and receiving gRPC client server headers in Golang
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
"The content of the page cannot be displayed."
CD
Cloudflare Developers / general-help
12mo ago
set missing header
CD
Cloudflare Developers / general-help
3y ago
grpc
CD
Cloudflare Developers / general-help
17mo ago
Files with the type Ongoing Multipart Upload cannot be deleted
CD
Cloudflare Developers / general-help
16mo ago