XMLHttpRequest Standard
Switch branches/tags
Nothing to show
Clone or download
annevk Do not reset override MIME type
It does not make much sense as overrideMimeType() isn't blocked from being used before open() is invoked. (And 3/4 of the major implementations do not have this behavior.)

Partially reverts 121cee5.

Tests: web-platform-tests/wpt#12404.

Closes web-platform-tests/wpt#12289.
Latest commit 7d8526b Oct 1, 2018


This repository hosts the XMLHttpRequest Standard.

Code of conduct

We are committed to providing a friendly, safe, and welcoming environment for all. Please read and respect the WHATWG Code of Conduct.

Contribution opportunities

We'd love your help fixing outstanding issues. Pull requests for typographical and grammar errors are also most welcome.

We'd be happy to mentor you through this process. If you're interested and need help getting started, leave a comment on the issue or ask around on IRC.

Pull requests

In short, change xhr.bs and submit your patch, with a good commit message. Consider reading through the WHATWG FAQ if you are new here.

Please add your name to the Acknowledgments section in your first pull request, even for trivial fixes. The names are sorted lexicographically.

Building "locally"

For quick local iteration, run make. To verify your changes locally, run make deploy. See more in the WHATWG Contributor Guidelines.

Merge policy

If you can commit to this repository, see the WHATWG Maintainer Guidelines.


Tests can be found in the xhr/ directory of web-platform-tests/wpt.