Avatar for the sparckles user
sparckles
Robyn
BlogDocsChangelog

fix: prevent CORS header duplication on middleware early-return responses

#1347Merged
Comparing
fix/cors-preflight-regression
(
5b1dd80
) with
main
(
a54ff96
)
CodSpeed Performance Gauge
0%
Untouched
189

Benchmarks

189 total
test_invalid_authentication_token[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_invalid_authentication_header_trailing_slash[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_invalid_authentication_token_trailing_slash[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_invalid_authentication_token_trailing_slash[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_invalid_authentication_header[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_invalid_authentication_no_token[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_invalid_authentication_no_token[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_default_url_index_request
integration_tests/test_base_url.py
CodSpeed Performance Gauge
+1%
2.6 ms2.5 ms
test_invalid_authentication_header_trailing_slash[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_global_index_request
integration_tests/test_base_url.py
CodSpeed Performance Gauge
+1%
2.5 ms2.5 ms
test_invalid_authentication_token[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_middlewares[async]
integration_tests/test_middlewares.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_sse_custom_status_code
integration_tests/test_sse.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_middlewares[sync]
integration_tests/test_middlewares.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_sse_middleware_compatibility
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_sse_single_message
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_global_middleware_applied_to_const_routes[/async/response/const]
integration_tests/test_middlewares.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_multipart_file[sync]
integration_tests/test_multipart_data.py
CodSpeed Performance Gauge
0%
2.9 ms2.8 ms
test_sse_custom_headers
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_split_request_params_get_method[split_request_typed-sync]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
2.7 ms2.6 ms
test_sync_500_internal_server_error[sync]
integration_tests/test_status_code.py
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
test_global_dependency_injection
integration_tests/test_dependency_injection.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_404_status_code
integration_tests/test_status_code.py
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
test_basic_get[/sync/str-sync str get-None-None]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_form_data[sync]
integration_tests/test_multipart_data.py
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms

Commits

Click on a commit to change the comparison range
Base
main
a54ff96
+0.27%
fix: prevent CORS header duplication on middleware early-return responses
7988838
2 months ago
by sansyrox
-0.08%
[pre-commit.ci] auto fixes from pre-commit.com hooks
5b1dd80
2 months ago
by pre-commit-ci[bot]
© 2026 CodSpeed Technology
Home Terms Privacy Docs