mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
66337fc6fc
- Replace deprecated unescape(encodeURIComponent()) pattern with a regex-based encodeUTF8() helper function in resolveConfig.js - Fix incorrect JSDoc comment for isFileList in utils.js (said 'File' instead of 'FileList') The new encodeUTF8 function produces identical output to the deprecated pattern, verified against existing basicAuth.spec.js test expectations. Co-authored-by: Jay <jasonsaayman@gmail.com>
axios // helpers
The modules found in helpers/ should be generic modules that are not specific to the domain logic of axios. These modules could theoretically be published to npm on their own and consumed by other modules or apps. Some examples of generic modules are things like:
- Browser polyfills
- Managing cookies
- Parsing HTTP headers