xhr: fix content-type header typo

This commit is contained in:
Pierre Tachoire
2024-02-14 11:28:32 +01:00
parent d062d0f1b6
commit 4c19dbc34f

View File

@@ -56,8 +56,8 @@ pub const XMLHttpRequestBodyInit = union(XMLHttpRequestBodyInitTag) {
.Blob => error.NotImplemented,
.BufferSource => error.NotImplemented,
.FormData => "multipart/form-data; boundary=TODO",
.URLSearchParams => "application/x-www-form-urlencoded;charset=UTF-8",
.String => "text/plain;charset=UTF-8",
.URLSearchParams => "application/x-www-form-urlencoded; charset=UTF-8",
.String => "text/plain; charset=UTF-8",
};
}