Files
windmill/backend/windmill-api/src
Alexander Petric 0910ec972d feat: allow setting custom cors header on http trigger (#6786)
* feat: allow setting custom cors header on http trigger

* preflight

* headers one by one

* perf: optimize conditional_cors_middleware by checking existing headers first

Improves performance by iterating through existing headers once and using
flags to track which CORS headers need to be inserted, avoiding unnecessary
header lookups for the common case where headers are not present

Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>

* refactor: use not_insert flags in conditional_cors_middleware for clarity

Changed the conditional_cors_middleware logic to use not_insert_* flags
instead of needs_* flags as suggested, which better represents the intent
when iterating through existing headers first.

Co-authored-by: Alexander Petric <alpetric@users.noreply.github.com>

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>
2025-10-09 19:41:54 +00:00
..
2025-09-29 12:42:02 +00:00
2025-06-02 22:12:33 +02:00
2025-09-02 11:28:06 +00:00
2025-06-02 22:12:33 +02:00
2025-09-17 16:48:37 +00:00
2025-09-12 18:10:58 +00:00
2025-06-02 22:12:33 +02:00
2025-09-09 21:04:23 +00:00
2025-06-02 22:12:33 +02:00
2025-03-13 09:31:38 +01:00
2024-04-04 04:16:53 +02:00
2025-09-20 01:23:00 +00:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
2025-09-02 11:28:06 +00:00
2025-09-04 22:05:22 +00:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
2025-10-07 07:00:00 +00:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
2025-09-09 21:04:23 +00:00
nit
2025-09-11 21:57:56 +00:00
2025-06-02 22:12:33 +02:00
2025-09-17 12:15:33 +00:00
2025-09-02 14:34:46 +00:00
2025-09-20 01:03:40 +00:00
2025-06-02 22:12:33 +02:00