]> source.dussan.org Git - jquery.git/commit
Ajax: Allow `processData: true` even for binary data
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 20 Mar 2023 16:08:51 +0000 (17:08 +0100)
committerGitHub <noreply@github.com>
Mon, 20 Mar 2023 16:08:51 +0000 (17:08 +0100)
commitce264e0789116e37fe371503537a217c038dfae8
treea674fe89ba02bbaf63723d07a4976ee87fe5dcc3
parentcff2899885c314d32eea42e9eef6ead6e5da5c2f
Ajax: Allow `processData: true` even for binary data

The way gh-5197 implemented binary data handling, `processData`
was being explicitly set to `false`. This is expected but it made
it impossible to override it to `true`. The new logic will only
set `processData` to `false` if it wasn't explicitly passed
in original options.

Closes gh-5205
Ref gh-5197
src/ajax/binary.js
test/unit/ajax.js