Fix handling of default CorsOptions.allowed_headers#24703
Conversation
|
Connected to Huly®: V_0.6-23058 |
|
Accidentally fixed another bug while I was at it |
|
Please, add a test, to prevent future silent regressions. |
I am on it. |
|
Weird... they are identical, except for |
|
vlib/veb/tests/cors_2_test.v was added in #23107 , which made sure, that if the TLDR: do not mind |
|
So, the test is a WIP: I recycled some code from the other test. It looks like the app instances created with a test do not exit fast enough for the next test. However, when running them individually, these tests do pass. I don't really know how to make it work, I would like suggestions or help. Regarding changes: Instead of calculating the |
|
I'm using v compiled with these changes to develop an actual application and it works as expected. |
veb dev forgot about checking for default case