kibana/packages/kbn-cli-dev-mode/src
Robert Jaszczurek fa0500c346
[Kibana Dev Server] Fix DELETE requests without a body in Safari (#220899)
Recently, we discovered that a `DELETE` request to one of our ML
endpoints does not work correctly in Safari.
After further investigation, it turns out that `DELETE` requests without
a body fail in Safari.
The issue occurs only within the Kibana Dev server, so there is no
impact on end users.
This is most likely due to a header set in the
`packages/kbn-cli-dev-mode/src/base_path_proxy/http1.ts` file. The issue
mentioned in the comment has already been resolved, and everything
appears to work correctly without this outdated workaround.

To reproduce the error:
1. Start Kibana locally and open it with Safari.
2. Find an endpoint that uses the `DELETE` method and does not have a
body specified.
3. ^ For example, go to Observability -> Cases and create a new case.
4. Go back to the cases list and try to delete the case
2025-05-20 09:35:30 +02:00
..
base_path_proxy [Kibana Dev Server] Fix DELETE requests without a body in Safari (#220899) 2025-05-20 09:35:30 +02:00
config Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
integration_tests Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
bootstrap.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
cli_dev_mode.test.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
cli_dev_mode.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
dev_server.test.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
dev_server.ts [Dev Server] Remove dead code (#193736) 2024-09-23 19:01:08 +02:00
get_active_inspect_flag.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
log.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
log_adapter.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
optimizer.test.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
optimizer.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
should_redirect_from_old_base_path.test.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
should_redirect_from_old_base_path.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
test_helpers.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
using_server_process.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
watcher.ts Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-presentation (#204843) 2024-12-23 12:32:11 -06:00