servo/components
Andreu Botella 482d28e4ff
Fix content-type when creating a Request with FormData body (#36194)
When you create a `Request` object with a `FormData` body, the spec
says that the `Content-Type` header should start with
`multipart/form-data; boundary=`. However, in Servo's implementation
it started with `multipart/form-data;boundary=`, without the space.

While all reasonable servers should be able to that headers whether
the space is present or not, this brings Servo closer to the spec, and
also makes some WPT tests pass.

Note that submitting a form with `enctype="multipart/form-data"` does
produce a `Content-Type` header with the space (see
`HTMLFormElement::submit_entity_body`).

Signed-off-by: Andreu Botella <abotella@igalia.com>
2025-03-28 13:33:07 +00:00
..
allocator chore: Move unsafe operations in unsafe functions to unsafe blocks (#36017) 2025-03-18 06:19:35 +00:00
background_hang_monitor chore: Move unsafe operations in unsafe functions to unsafe blocks (#36017) 2025-03-18 06:19:35 +00:00
bluetooth Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
canvas Add Path2D (#35783) 2025-03-26 12:12:44 +00:00
compositing compositor: Remove the script channel from the compositor (#36089) 2025-03-23 11:19:27 +00:00
config Start implementing the URLPattern API (#36144) 2025-03-27 10:39:57 +00:00
constellation Allow setting userscripts directly without the need of files (#35388) 2025-03-27 03:00:08 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools devtools: refactor network related (#36093) 2025-03-22 14:46:57 +00:00
dom_struct script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domobject_derive Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
fonts Upgrade to Stylo e941241 (#36120) 2025-03-25 10:45:40 +00:00
geometry servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
hyper_serde Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout_2020 script: Eliminate PseudoElementType (#36146) 2025-03-26 08:33:12 +00:00
layout_thread_2020 chore: Remove unused generation counter field from LayoutThread (#36172) 2025-03-26 21:57:39 +00:00
malloc_size_of Cleanup Stylo dependencies (#36046) 2025-03-19 08:53:26 +00:00
media Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
metrics Made MAX_TASK_NS u128. Also removed a superfluous into(). Both were required to fix #36122 with nightly 1.85.0 (4d91de4e4 2025-02-17). (#36169) 2025-03-27 10:02:53 +00:00
net net: Add missing feature required for unit tests. (#36193) 2025-03-28 12:04:02 +00:00
pixels pixels: Extend Image to allow for multiple frames (#36058) 2025-03-21 10:32:14 +00:00
profile Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00
rand Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script Fix content-type when creating a Request with FormData body (#36194) 2025-03-28 13:33:07 +00:00
script_bindings Stop using RootedGuard's DerefMut impl (#36158) 2025-03-28 12:39:42 +00:00
servo Allow setting userscripts directly without the need of files (#35388) 2025-03-27 03:00:08 +00:00
shared Allow setting userscripts directly without the need of files (#35388) 2025-03-27 03:00:08 +00:00
timers Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
url Eliminate to_shmem dependency from servo_url (#35897) 2025-03-11 00:33:39 +00:00
webdriver_server Create a constellation_traits crate (#36088) 2025-03-22 15:49:08 +00:00
webgpu webgpu: leverage routed_promise in calls returning promises (#35859) 2025-03-23 18:52:46 +00:00
webxr Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00