Files
shields/services
Christian Bewernitz 007a7e6c47 pass matching mime type to xmldom; test [dynamicxml] (#10830)
* feat: pass matching mime type to xmldom

If the `Content-Type` header contains one of the mime types supported by `DOMParser`, the first matching mime type will be used instead of `text/xml`.

The default is still `text/xml` for cases when the header is not present or none of the mime types from the list are present.

* factor out and add tests

---------

Co-authored-by: chris48s <git@chris-shaw.dev>
2025-01-21 19:52:59 +00:00
..
2024-07-22 17:54:34 +00:00
2024-03-23 19:54:57 +00:00
2024-03-23 19:54:57 +00:00
2024-01-16 20:16:04 +00:00
2024-03-18 13:53:59 +00:00
2024-12-31 13:54:25 +00:00
2024-12-31 13:54:25 +00:00
2024-12-11 19:28:45 +00:00
2024-08-25 20:30:53 +01:00
2024-12-23 09:47:17 +00:00
2024-12-31 16:33:36 +00:00
2023-12-20 16:28:41 +00:00
2024-03-23 19:54:57 +00:00
2024-12-31 13:54:25 +00:00
2024-02-14 18:53:08 +00:00
2024-07-13 14:04:22 +01:00
2024-11-04 19:05:32 +00:00