How to set Content-Type for ReaderStream? #2861
Replies: 2 comments 1 reply
-
The following struct can be used to wrap any responder type, and sets the content_type to binary.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the above code and it works well.
Now I want to add
Content-Type
for the response. how can I do that?I tried the following code , but failed to connect
Beta Was this translation helpful? Give feedback.
All reactions