-
Hello, I am trying to follow this example. My endpoint is practically a proxy, and I need it to be as efficient as possible. The relevant code in my fastify handler is here
However, it seems that the headers are not streamed to the response, and I don't see a way to fix it. What can I do? |
Beta Was this translation helpful? Give feedback.
Answered by
wlinna
Mar 6, 2024
Replies: 1 comment 1 reply
-
Can you provide an From here it seems you are not attaching the headers to your |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now I see how blind I've been. Example 1 shows that
factory
receivesheaders
parameter that I can use to add the headers to the stream.This is what my relevant code (TypeScript) looks like now, and it seems to work