Avatar for the sparckles user
sparckles
Robyn
BlogDocsChangelog

fix: fixing routing, while files & api served from same base route

#1260Merged
Comparing
thePromger:fix-routing
(
cde862e
) with
main
(
118660f
)
CodSpeed Performance Gauge
-1%
Untouched
150
New
2

Benchmarks

152 total
test_static_file_still_served_correctly
integration_tests/test_static_files_with_api_routes.py
CodSpeed Performance Gauge
N/A
N/A4.7 ms
test_post_api_route_with_root_static_files
integration_tests/test_static_files_with_api_routes.py
CodSpeed Performance Gauge
N/A
N/A4.6 ms
test_sse_streaming_async_real_time
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
6.2 ms6.2 ms
test_add_response_header
integration_tests/test_app.py
CodSpeed Performance Gauge
0%
649.2 µs651 µs
test_lifecycle_handlers
integration_tests/test_app.py
CodSpeed Performance Gauge
0%
680.8 µs682.7 µs
test_allow_cors
integration_tests/test_app.py
CodSpeed Performance Gauge
0%
756 µs758.7 µs
test_sse_streaming_sync_real_time
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
5.9 ms5.9 ms
test_custom_openapi_spec
integration_tests/test_openapi.py
CodSpeed Performance Gauge
0%
762.3 µs765.2 µs
test_global_index_request
integration_tests/test_base_url.py
CodSpeed Performance Gauge
0%
4.5 ms4.5 ms
test_invalid_authentication_token[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
4.5 ms4.6 ms
test_basic_get[/sync/str/const-sync str const get-None-None]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
0%
4.6 ms4.6 ms
test_invalid_authentication_token[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
4.5 ms4.6 ms
test_add_request_header
integration_tests/test_app.py
CodSpeed Performance Gauge
0%
648 µs651.1 µs
test_sse_basic_headers
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
4.6 ms4.6 ms
test_sse_formatted_messages
integration_tests/test_sse.py
CodSpeed Performance Gauge
-1%
4.7 ms4.7 ms
test_multipart_file[sync]
integration_tests/test_multipart_data.py
CodSpeed Performance Gauge
-1%
4.8 ms4.9 ms
test_delete_with_param[async]
integration_tests/test_delete_requests.py
CodSpeed Performance Gauge
-1%
4.6 ms4.7 ms
test_split_request_params_get_body[split_request_untyped-sync]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
-1%
4.7 ms4.7 ms
test_patch[async]
integration_tests/test_patch_requests.py
CodSpeed Performance Gauge
-1%
4.7 ms4.7 ms
test_sub_router[get]
integration_tests/test_subrouter.py
CodSpeed Performance Gauge
-1%
4.6 ms4.6 ms
test_split_request_params_get_path_params[split_request_untyped-sync]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
-1%
4.7 ms4.7 ms
test_split_request_params_get_combined_failure[sync]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
-1%
4.9 ms4.9 ms
test_basic_get[/sync/dict/const-sync dict const get-sync_const-dict]
integration_tests/test_basic_routes.py
CodSpeed Performance Gauge
-1%
4.7 ms4.7 ms
test_put[async]
integration_tests/test_put_requests.py
CodSpeed Performance Gauge
-1%
4.7 ms4.7 ms

Commits

Click on a commit to change the comparison range
Base
main
118660f
-0.54%
fix: enhance file serving logic to ensure only regular files are accessible
4bce3b2
4 months ago
by thePromger
-0.04%
feat: added integration_tests & small bug in file service route handling.
47d52c8
4 months ago
by thePromger
+0.03%
feat: Fixing isort errors
1daebbc
4 months ago
by thePromger
-0.15%
fix: reorder static file serving logic in main function for clarity
cde862e
4 months ago
by thePromger
© 2026 CodSpeed Technology
Home Terms Privacy Docs