Replies: 1 comment 1 reply
-
That source only handles a single HTTP method at a time: https://vector.dev/docs/reference/configuration/sources/http_server/#method If supporting OPTIONS is important to you, please feel free to make an issue and we'll take a look. I suspect that in typical Vector setups, OPTIONS requests aren't used since you don't need to discover the accepted methods; you have the config file which explicitly says what's accepted 😄 |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Is there a reason the
http_server
source doesn't handle theOPTIONS
method when a request is coming in?I'm tinkering with vector and am trying to send info in the browser to vector through a library and that request starts with
OPTIONS
which fails and vector outputs this info:I'm able to send POST through Postman with my config but not from the browser because of this.
Beta Was this translation helpful? Give feedback.
All reactions