xhr.spec.whatwg.orgXMLHttpRequest Standard

xhr.spec.whatwg.org Profile

Xhr.spec.whatwg.org is a subdomain of whatwg.org, which was created on 2004-03-09,making it 20 years ago. It has several subdomains, such as url.spec.whatwg.org developers.whatwg.org , among others.

Discover xhr.spec.whatwg.org website stats, rating, details and status online.Use our online tools to find owner and admin contact info. Find out where is server located.Read and write reviews or vote to improve it ranking. Check alliedvsaxis duplicates with related css, domain relations, most used words, social networks references. Go to regular site

xhr.spec.whatwg.org Information

HomePage size: 876.045 KB
Page Load Time: 0.054143 Seconds
Website IP Address: 165.227.248.76

xhr.spec.whatwg.org Similar Website

Unicode - The World Standard for Text and Emoji
home.unicode.org
The Jewish Standard - The Times of Israel Partner in New Jersey
jewishstandard.timesofisrael.com
E-Poll Market Research Blog – Setting the Standard in Media and Entertainment Research
blog.epollresearch.com
Easy Time Clock - Standard Login
timeclock.easytimeclock.com
The Standard | The Official Blog of HL7
blog.hl7.org
IAOIP Innovation Measurement Standard Challenge - Home
iaoip.spigit.com
Gold Standard for the Global Goals – Standard Documents
globalgoals.goldstandard.org
PIPE-FLO: The Engineering Standard - Piping System Flow Software
www.storefronts.pump-flo.com
Standard Parts On KMC
kmccatalog.kmc-original.com
Knot Standard Blog
blog.knotstandard.com
All CIODs – DICOM Standard Browser
dicom.innolitics.com
Standard Plans – SpeakerMatch
toastmasters.speakermatch.com
Syracuse Post Standard Obituaries - Syracuse, NY | Syracuse Post Standard
obits.syracuse.com
The HTTPS-Only Standard - The HTTPS-Only Standard
https.cio.gov
Careers at Standard Bank Group | Standard Bank
careers.standardbank.com

xhr.spec.whatwg.org PopUrls

XMLHttpRequest Standard - WHATWG
https://xhr.spec.whatwg.org/
XMLHttpRequest Standard
https://xhr.spec.whatwg.org/./

xhr.spec.whatwg.org Httpheader

Server: nginx/1.10.3
Date: Tue, 14 May 2024 20:33:03 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 594158
Last-Modified: Mon, 19 Feb 2024 18:56:10 GMT
Connection: keep-alive
Vary: Accept-Encoding
ETag: "65d3a44a-910ee"
Access-Control-Allow-Origin: *
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
X-Content-Type-Options: nosniff
Accept-Ranges: bytes

xhr.spec.whatwg.org Meta Info

charset="utf-8"/
content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"/
content="#3c790a" name="theme-color"/
content="light dark" name="color-scheme"/
content="Bikeshed version d5d58a306, updated Fri Jan 26 16:12:28 2024 -0800" name="generator"/
content="fdd619d0a13fe4d8af1c9ffdb6de24cb88c53cc0" name="revision"/

xhr.spec.whatwg.org Ip Information

Ip Country: United States
City Name: Clifton
Latitude: 40.8364
Longitude: -74.1403

xhr.spec.whatwg.org Html To Plain Text

XMLHttpRequest Living Standard — Last Updated 19 February 2024 Participate: GitHub whatwg/xhr ( new issue , open issues ) Chat on Matrix Commits: GitHub whatwg/xhr/commits Snapshot as of this commit @xhrstandard Tests: web-platform-tests xhr/ ( ongoing work ) Translations (non-normative) : 日本語 Abstract The defines an API that provides scripted client functionality for transferring data between a client and a server. Table of Contents 1 Introduction 1.1 Specification history 2 Terminology 3 Interface XMLHttpRequest 3.1 Constructors 3.2 Garbage collection 3.3 Event handlers 3.4 States 3.5 Request 3.5.1 The open() method 3.5.2 The setRequestHeader() method 3.5.3 The timeout getter and setter 3.5.4 The withCredentials getter and setter 3.5.5 The upload getter 3.5.6 The send() method 3.5.7 The abort() method 3.6 Response 3.6.1 The responseURL getter 3.6.2 The status getter 3.6.3 The statusText getter 3.6.4 The getResponseHeader() method 3.6.5 The getAllResponseHeaders() method 3.6.6 Response body 3.6.7 The overrideMimeType() method 3.6.8 The responseType getter and setter 3.6.9 The response getter 3.6.10 The responseText getter 3.6.11 The responseXML getter 3.7 Events summary 4 Interface FormData 5 Interface ProgressEvent 5.1 Firing events using the ProgressEvent interface 5.2 Suggested names for events using the ProgressEvent interface 5.3 Security considerations 5.4 Example Acknowledgments Intellectual property rights Index Terms defined by this specification Terms defined by reference References Normative References IDL Index 1. Introduction This section is non-normative. The XMLHttpRequest object is an API for fetching resources. The name XMLHttpRequest is historical and has no bearing on its functionality. Some simple code to do something with data from an XML document fetched over the network: function processData ( data ) { // taking care of data } function handler () { if ( this . status == 200 && this . responseXML != null && this . responseXML . getElementById ( ’test’ ). textContent ) { // success! processData ( this . responseXML . getElementById ( ’test’ ). textContent ); } else { // something went wrong … } } var client = new XMLHttpRequest (); client . onload = handler ; client . open ( "GET" , "unicorn.xml" ); client . send (); If you just want to log a message to the server: function log ( message ) { var client = new XMLHttpRequest (); client . open ( "POST" , "/log" ); client . setRequestHeader ( "Content-Type" , "text/plain;charset=UTF-8" ); client . send ( message ); } Or if you want to check the status of a document on the server: function fetchStatus ( address ) { var client = new XMLHttpRequest (); client . onload = function () { // in case of network errors this might not give reliable results returnStatus ( this . status ); } client . open ( "HEAD" , address ); client . send (); } 1.1. Specification history The XMLHttpRequest object was initially defined as part of the WHATWG’s HTML effort. (Based on Microsoft’s implementation many years prior.) It moved to the W3C in 2006. Extensions (e.g., progress events and cross-origin requests) to XMLHttpRequest were developed in a separate draft (XMLHttpRequest Level 2) until end of 2011, at which point the two drafts were merged and XMLHttpRequest became a single entity again from a standards perspective. End of 2012 it moved back to the WHATWG. Discussion that led to the current draft can be found in the following mailing list archives: whatwg@whatwg.org public-webapps@w3.org public-webapi@w3.org public-appformats@w3.org 2. Terminology This specification depends on the Infra Standard. [INFRA] This specification uses terminology from DOM, DOM Parsing and Serialization, Encoding, Fetch, File API, HTML, URL, Web IDL, and XML. [DOM] [DOM-PARSING] [ENCODING] [FETCH] [FILEAPI] [HTML] [URL] [WEBIDL] [XML] [XML-NAMES] 3. Interface XMLHttpRequest [ Exposed =( Window , DedicatedWorker , SharedWorker )] interface XMLHttpRequestEventTarget : EventTarget { // event handlers attribute EventHandler onloadstart ; attribute EventHandler onprogress ; attribute EventHandler onabort ; attribute EventHandler onerror ; attribute EventHandler onload ; attribute EventHandler ontimeout ; attribute EventHandler onloadend ; }; [ Exposed =( Window , DedicatedWorker , SharedWorker )] interface XMLHttpRequestUpload : XMLHttpRequestEventTarget { }; enum XMLHttpRequestResponseType { "" , "arraybuffer" , "blob" , "document" , "json" , "text" }; [ Exposed =( Window , DedicatedWorker , SharedWorker )] interface XMLHttpRequest : XMLHttpRequestEventTarget { constructor (); // event handler attribute EventHandler onreadystatechange ; // states const unsigned short UNSENT = 0; const unsigned short OPENED = 1; const unsigned short HEADERS_RECEIVED = 2; const unsigned short LOADING = 3; const unsigned short DONE = 4; readonly attribute unsigned short readyState ; // request undefined open ( ByteString method , USVString url ); undefined open ( ByteString method , USVString url , boolean async , optional USVString ? username = null , optional USVString ? password = null ); undefined setRequestHeader ( ByteString name , ByteString value ); attribute unsigned long timeout ; attribute boolean withCredentials ; [ SameObject ] readonly attribute XMLHttpRequestUpload upload ; undefined send ( optional ( Document or XMLHttpRequestBodyInit )? body = null ); undefined abort (); // response readonly attribute USVString responseURL ; readonly attribute unsigned short status ; readonly attribute ByteString statusText ; ByteString ? getResponseHeader ( ByteString name ); ByteString getAllResponseHeaders (); undefined overrideMimeType ( DOMString mime ); attribute XMLHttpRequestResponseType responseType ; readonly attribute any response ; readonly attribute USVString responseText ; [ Exposed = Window ] readonly attribute Document ? responseXML ; }; An XMLHttpRequest object has an associated: upload object An XMLHttpRequestUpload object. state One of unsent , opened , headers received , loading , and done ; initially unsent . send() flag A flag, initially unset. timeout An unsigned integer, initially 0. cross-origin credentials A boolean, initially false. request method A method . request URL A URL . author request headers A header list , initially empty. request body Initially null. synchronous flag A flag, initially unset. upload complete flag A flag, initially unset. upload listener flag A flag, initially unset. timed out flag A flag, initially unset. response A response , initially a network error . received bytes A byte sequence , initially the empty byte sequence. response type One of the empty string, " arraybuffer ", " blob ", " document ", " json ", and " text "; initially the empty string. response object An object, failure, or null, initially null. fetch controller A fetch controller , initially a new fetch controller . The send() method sets it to a useful fetch controller , but for simplicity it always holds a fetch controller . override MIME type A MIME type or null, initially null. Can get a value when overrideMimeType() is invoked. 3.1. Constructors client = new XMLHttpRequest() Returns a new XMLHttpRequest object. The new XMLHttpRequest() constructor steps are: Set this ’s upload object to a new XMLHttpRequestUpload object. 3.2. Garbage collection An XMLHttpRequest object must not be garbage collected if its state is either opened with the send() flag set, headers received , or loading , and it has one or more event listeners registered whose type is one of readystatechange , progress , abort , error , load , timeout , and loadend . If an XMLHttpRequest object is garbage collected while its connection is still open, the user agent must terminate the XMLHttpRequest object’s fetch controller . 3.3. Event handlers The following are the event handlers (and their corresponding event handler event types ) that must be supported on objects implementing an interface that inherits from XMLHttpRequestEventTarget as attributes: event...

xhr.spec.whatwg.org Whois

Domain Name: whatwg.org Registry Domain ID: 5e1eedb75e034f26a0b3d41f76617ac0-LROR Registrar WHOIS Server: whois.namecheap.com Registrar URL: http://www.namecheap.com Updated Date: 2021-02-10T08:54:42Z Creation Date: 2004-03-09T02:01:33Z Registry Expiry Date: 2030-03-09T02:01:33Z Registrar: NameCheap, Inc. Registrar IANA ID: 1068 Registrar Abuse Contact Email: abuse@namecheap.com Registrar Abuse Contact Phone: +1.6613102107 Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited Registrant State/Province: Capital Region Registrant Country: IS Name Server: ns1.digitalocean.com Name Server: ns2.digitalocean.com Name Server: ns3.digitalocean.com DNSSEC: unsigned >>> Last update of WHOIS database: 2024-05-17T19:35:47Z <<<