From 530b72fb3a6594f6964b3aab8139e823493f36b1 Mon Sep 17 00:00:00 2001
From: Veniamin Krol <153412+vkrol@users.noreply.github.com>
Date: Mon, 2 Sep 2019 22:32:56 +0300
Subject: [PATCH 1/2] Clarify that errorThrown and statusText will be empty
strings in HTTP/2
---
entries/jQuery.ajax.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/entries/jQuery.ajax.xml b/entries/jQuery.ajax.xml
index f75de949..2b7071b5 100644
--- a/entries/jQuery.ajax.xml
+++ b/entries/jQuery.ajax.xml
@@ -109,7 +109,7 @@ $.ajax({
null
) are "timeout"
, "error"
, "abort"
, and "parsererror"
. When an HTTP error occurs, errorThrown
receives the textual portion of the HTTP status, such as "Not Found" or "Internal Server Error." As of jQuery 1.5, the error
setting can accept an array of functions. Each function will be called in turn. Note: This handler is not called for cross-domain script and cross-domain JSONP requests. This is an Ajax Event.null
) are "timeout"
, "error"
, "abort"
, and "parsererror"
. When an HTTP error occurs, errorThrown
receives the textual portion of the HTTP status, such as "Not Found" or "Internal Server Error." (it may be an empty string in HTTP/2) As of jQuery 1.5, the error
setting can accept an array of functions. Each function will be called in turn. Note: This handler is not called for cross-domain script and cross-domain JSONP requests. This is an Ajax Event.true
. Set to false
to prevent the global handlers like ajaxStart
or ajaxStop
from being triggered. This can be used to control various Ajax Events.status
statusText
+ statusText
(it may be an empty string in HTTP/2)
abort( [ statusText ] )
From 83ddff7edcb2c8b40d26857b1282a549a2aade57 Mon Sep 17 00:00:00 2001
From: Veniamin Krol <153412+vkrol@users.noreply.github.com>
Date: Sat, 5 Oct 2019 12:08:45 +0300
Subject: [PATCH 2/2] Fix wording
---
entries/jQuery.ajax.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/entries/jQuery.ajax.xml b/entries/jQuery.ajax.xml
index 2b7071b5..c22347fb 100644
--- a/entries/jQuery.ajax.xml
+++ b/entries/jQuery.ajax.xml
@@ -109,7 +109,7 @@ $.ajax({
null
) are "timeout"
, "error"
, "abort"
, and "parsererror"
. When an HTTP error occurs, errorThrown
receives the textual portion of the HTTP status, such as "Not Found" or "Internal Server Error." (it may be an empty string in HTTP/2) As of jQuery 1.5, the error
setting can accept an array of functions. Each function will be called in turn. Note: This handler is not called for cross-domain script and cross-domain JSONP requests. This is an Ajax Event.null
) are "timeout"
, "error"
, "abort"
, and "parsererror"
. When an HTTP error occurs, errorThrown
receives the textual portion of the HTTP status, such as "Not Found" or "Internal Server Error." (in HTTP/2 it may instead be an empty string) As of jQuery 1.5, the error
setting can accept an array of functions. Each function will be called in turn. Note: This handler is not called for cross-domain script and cross-domain JSONP requests. This is an Ajax Event.true
. Set to false
to prevent the global handlers like ajaxStart
or ajaxStop
from being triggered. This can be used to control various Ajax Events.status
statusText
(it may be an empty string in HTTP/2)
+ statusText
(may be an empty string in HTTP/2)
abort( [ statusText ] )