From 2f2ce8ca0657846046f9e29b6c05a73750042ef0 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Sun, 10 Aug 2025 04:03:26 +0000
Subject: [PATCH 1/2] GH Pages: update API docs for Requests 939/merge
---
.../classes/WpOrg-Requests-Auth-Basic.html | 58 +-
api-2.x/classes/WpOrg-Requests-Auth.html | 16 +-
api-2.x/classes/WpOrg-Requests-Autoload.html | 76 +-
.../classes/WpOrg-Requests-Capability.html | 31 +-
.../classes/WpOrg-Requests-Cookie-Jar.html | 46 +-
api-2.x/classes/WpOrg-Requests-Cookie.html | 106 +-
...pOrg-Requests-Exception-ArgumentCount.html | 42 +-
...Org-Requests-Exception-Http-Status304.html | 70 +-
...Org-Requests-Exception-Http-Status305.html | 70 +-
...Org-Requests-Exception-Http-Status306.html | 70 +-
...Org-Requests-Exception-Http-Status400.html | 70 +-
...Org-Requests-Exception-Http-Status401.html | 70 +-
...Org-Requests-Exception-Http-Status402.html | 70 +-
...Org-Requests-Exception-Http-Status403.html | 70 +-
...Org-Requests-Exception-Http-Status404.html | 70 +-
...Org-Requests-Exception-Http-Status405.html | 70 +-
...Org-Requests-Exception-Http-Status406.html | 70 +-
...Org-Requests-Exception-Http-Status407.html | 70 +-
...Org-Requests-Exception-Http-Status408.html | 70 +-
...Org-Requests-Exception-Http-Status409.html | 70 +-
...Org-Requests-Exception-Http-Status410.html | 70 +-
...Org-Requests-Exception-Http-Status411.html | 70 +-
...Org-Requests-Exception-Http-Status412.html | 70 +-
...Org-Requests-Exception-Http-Status413.html | 70 +-
...Org-Requests-Exception-Http-Status414.html | 70 +-
...Org-Requests-Exception-Http-Status415.html | 70 +-
...Org-Requests-Exception-Http-Status416.html | 70 +-
...Org-Requests-Exception-Http-Status417.html | 70 +-
...Org-Requests-Exception-Http-Status418.html | 70 +-
...Org-Requests-Exception-Http-Status421.html | 837 ++++
...Org-Requests-Exception-Http-Status422.html | 837 ++++
...Org-Requests-Exception-Http-Status423.html | 837 ++++
...Org-Requests-Exception-Http-Status424.html | 837 ++++
...Org-Requests-Exception-Http-Status425.html | 837 ++++
...Org-Requests-Exception-Http-Status426.html | 837 ++++
...Org-Requests-Exception-Http-Status428.html | 70 +-
...Org-Requests-Exception-Http-Status429.html | 70 +-
...Org-Requests-Exception-Http-Status431.html | 70 +-
...Org-Requests-Exception-Http-Status451.html | 837 ++++
...Org-Requests-Exception-Http-Status500.html | 70 +-
...Org-Requests-Exception-Http-Status501.html | 70 +-
...Org-Requests-Exception-Http-Status502.html | 70 +-
...Org-Requests-Exception-Http-Status503.html | 70 +-
...Org-Requests-Exception-Http-Status504.html | 70 +-
...Org-Requests-Exception-Http-Status505.html | 70 +-
...Org-Requests-Exception-Http-Status506.html | 837 ++++
...Org-Requests-Exception-Http-Status507.html | 837 ++++
...Org-Requests-Exception-Http-Status508.html | 837 ++++
...Org-Requests-Exception-Http-Status510.html | 837 ++++
...Org-Requests-Exception-Http-Status511.html | 70 +-
...Requests-Exception-Http-StatusUnknown.html | 68 +-
.../WpOrg-Requests-Exception-Http.html | 68 +-
...rg-Requests-Exception-InvalidArgument.html | 14 +-
...Org-Requests-Exception-Transport-Curl.html | 72 +-
.../WpOrg-Requests-Exception-Transport.html | 40 +-
api-2.x/classes/WpOrg-Requests-Exception.html | 40 +-
.../classes/WpOrg-Requests-HookManager.html | 16 +-
api-2.x/classes/WpOrg-Requests-Hooks.html | 28 +-
.../classes/WpOrg-Requests-IdnaEncoder.html | 51 +-
api-2.x/classes/WpOrg-Requests-Ipv6.html | 22 +-
api-2.x/classes/WpOrg-Requests-Iri.html | 555 +--
api-2.x/classes/WpOrg-Requests-Port.html | 26 +-
.../classes/WpOrg-Requests-Proxy-Http.html | 74 +-
api-2.x/classes/WpOrg-Requests-Proxy.html | 16 +-
api-2.x/classes/WpOrg-Requests-Requests.html | 220 +-
.../WpOrg-Requests-Response-Headers.html | 42 +-
api-2.x/classes/WpOrg-Requests-Response.html | 114 +-
api-2.x/classes/WpOrg-Requests-Session.html | 92 +-
api-2.x/classes/WpOrg-Requests-Ssl.html | 32 +-
.../WpOrg-Requests-Transport-Curl.html | 88 +-
.../WpOrg-Requests-Transport-Fsockopen.html | 52 +-
api-2.x/classes/WpOrg-Requests-Transport.html | 18 +-
...sts-Utility-CaseInsensitiveDictionary.html | 38 +-
...Org-Requests-Utility-FilteredIterator.html | 73 +-
.../WpOrg-Requests-Utility-HttpStatus.html | 4255 +++++++++++++++++
...WpOrg-Requests-Utility-InputValidator.html | 123 +-
api-2.x/css/template.css | 1 +
api-2.x/files/src-auth-basic.html | 51 +-
api-2.x/files/src-auth.html | 51 +-
api-2.x/files/src-autoload.html | 51 +-
api-2.x/files/src-capability.html | 51 +-
api-2.x/files/src-cookie-jar.html | 51 +-
api-2.x/files/src-cookie.html | 51 +-
.../files/src-exception-argumentcount.html | 50 +-
.../files/src-exception-http-status304.html | 51 +-
.../files/src-exception-http-status305.html | 51 +-
.../files/src-exception-http-status306.html | 51 +-
.../files/src-exception-http-status400.html | 51 +-
.../files/src-exception-http-status401.html | 51 +-
.../files/src-exception-http-status402.html | 51 +-
.../files/src-exception-http-status403.html | 51 +-
.../files/src-exception-http-status404.html | 51 +-
.../files/src-exception-http-status405.html | 51 +-
.../files/src-exception-http-status406.html | 51 +-
.../files/src-exception-http-status407.html | 51 +-
.../files/src-exception-http-status408.html | 51 +-
.../files/src-exception-http-status409.html | 51 +-
.../files/src-exception-http-status410.html | 51 +-
.../files/src-exception-http-status411.html | 51 +-
.../files/src-exception-http-status412.html | 51 +-
.../files/src-exception-http-status413.html | 51 +-
.../files/src-exception-http-status414.html | 51 +-
.../files/src-exception-http-status415.html | 51 +-
.../files/src-exception-http-status416.html | 51 +-
.../files/src-exception-http-status417.html | 51 +-
.../files/src-exception-http-status418.html | 43 +-
.../files/src-exception-http-status421.html | 344 ++
.../files/src-exception-http-status422.html | 344 ++
.../files/src-exception-http-status423.html | 344 ++
.../files/src-exception-http-status424.html | 344 ++
.../files/src-exception-http-status425.html | 344 ++
.../files/src-exception-http-status426.html | 344 ++
.../files/src-exception-http-status428.html | 43 +-
.../files/src-exception-http-status429.html | 43 +-
.../files/src-exception-http-status431.html | 43 +-
.../files/src-exception-http-status451.html | 344 ++
.../files/src-exception-http-status500.html | 51 +-
.../files/src-exception-http-status501.html | 51 +-
.../files/src-exception-http-status502.html | 51 +-
.../files/src-exception-http-status503.html | 51 +-
.../files/src-exception-http-status504.html | 51 +-
.../files/src-exception-http-status505.html | 51 +-
.../files/src-exception-http-status506.html | 344 ++
.../files/src-exception-http-status507.html | 344 ++
.../files/src-exception-http-status508.html | 344 ++
.../files/src-exception-http-status510.html | 344 ++
.../files/src-exception-http-status511.html | 43 +-
.../src-exception-http-statusunknown.html | 51 +-
api-2.x/files/src-exception-http.html | 51 +-
.../files/src-exception-invalidargument.html | 50 +-
.../files/src-exception-transport-curl.html | 51 +-
api-2.x/files/src-exception-transport.html | 51 +-
api-2.x/files/src-exception.html | 51 +-
api-2.x/files/src-hookmanager.html | 51 +-
api-2.x/files/src-hooks.html | 51 +-
api-2.x/files/src-idnaencoder.html | 50 +-
api-2.x/files/src-ipv6.html | 51 +-
api-2.x/files/src-iri.html | 51 +-
api-2.x/files/src-port.html | 48 +-
api-2.x/files/src-proxy-http.html | 46 +-
api-2.x/files/src-proxy.html | 46 +-
api-2.x/files/src-requests.html | 52 +-
api-2.x/files/src-response-headers.html | 51 +-
api-2.x/files/src-response.html | 51 +-
api-2.x/files/src-session.html | 51 +-
api-2.x/files/src-ssl.html | 51 +-
api-2.x/files/src-transport-curl.html | 53 +-
api-2.x/files/src-transport-fsockopen.html | 51 +-
api-2.x/files/src-transport.html | 51 +-
...src-utility-caseinsensitivedictionary.html | 51 +-
.../files/src-utility-filterediterator.html | 51 +-
api-2.x/files/src-utility-httpstatus.html | 344 ++
api-2.x/files/src-utility-inputvalidator.html | 51 +-
api-2.x/graphs/classes.html | 8 +-
api-2.x/index.html | 14 +-
api-2.x/indices/files.html | 20 +-
api-2.x/js/searchIndex.js | 529 +-
api-2.x/namespaces/default.html | 14 +-
api-2.x/namespaces/wporg-requests-auth.html | 10 +-
api-2.x/namespaces/wporg-requests-cookie.html | 10 +-
.../wporg-requests-exception-http.html | 12 +-
.../wporg-requests-exception-transport.html | 10 +-
.../namespaces/wporg-requests-exception.html | 10 +-
api-2.x/namespaces/wporg-requests-proxy.html | 10 +-
.../namespaces/wporg-requests-response.html | 10 +-
.../namespaces/wporg-requests-transport.html | 12 +-
.../namespaces/wporg-requests-utility.html | 12 +-
api-2.x/namespaces/wporg-requests.html | 12 +-
api-2.x/namespaces/wporg.html | 10 +-
api-2.x/packages/Application.html | 108 +-
api-2.x/packages/Requests-Authentication.html | 10 +-
api-2.x/packages/Requests-Cookies.html | 10 +-
.../packages/Requests-EventDispatcher.html | 10 +-
api-2.x/packages/Requests-Exceptions.html | 12 +-
api-2.x/packages/Requests-Proxy.html | 10 +-
api-2.x/packages/Requests-SessionHandler.html | 10 +-
api-2.x/packages/Requests-Transport.html | 12 +-
api-2.x/packages/Requests-Utilities.html | 12 +-
api-2.x/packages/Requests.html | 108 +-
api-2.x/packages/default.html | 12 +-
api-2.x/reports/deprecated.html | 36 +-
api-2.x/reports/errors.html | 10 +-
api-2.x/reports/markers.html | 10 +-
183 files changed, 23416 insertions(+), 3056 deletions(-)
create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status421.html
create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status422.html
create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status423.html
create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status424.html
create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status425.html
create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status426.html
create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status451.html
create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status506.html
create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status507.html
create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status508.html
create mode 100644 api-2.x/classes/WpOrg-Requests-Exception-Http-Status510.html
create mode 100644 api-2.x/classes/WpOrg-Requests-Utility-HttpStatus.html
create mode 100644 api-2.x/files/src-exception-http-status421.html
create mode 100644 api-2.x/files/src-exception-http-status422.html
create mode 100644 api-2.x/files/src-exception-http-status423.html
create mode 100644 api-2.x/files/src-exception-http-status424.html
create mode 100644 api-2.x/files/src-exception-http-status425.html
create mode 100644 api-2.x/files/src-exception-http-status426.html
create mode 100644 api-2.x/files/src-exception-http-status451.html
create mode 100644 api-2.x/files/src-exception-http-status506.html
create mode 100644 api-2.x/files/src-exception-http-status507.html
create mode 100644 api-2.x/files/src-exception-http-status508.html
create mode 100644 api-2.x/files/src-exception-http-status510.html
create mode 100644 api-2.x/files/src-utility-httpstatus.html
diff --git a/api-2.x/classes/WpOrg-Requests-Auth-Basic.html b/api-2.x/classes/WpOrg-Requests-Auth-Basic.html
index edb709d5c..0f59badba 100644
--- a/api-2.x/classes/WpOrg-Requests-Auth-Basic.html
+++ b/api-2.x/classes/WpOrg-Requests-Auth-Basic.html
@@ -69,6 +69,10 @@
Set cURL parameters before the data is sent
+ Set cURL parameters before the data is sent.
public
@@ -486,7 +490,7 @@ Parameters
: resource|CurlHandle
-
@@ -512,11 +516,11 @@ Add extra headers to the request before sending
+ Add extra headers to the request before sending.
public
@@ -533,7 +537,7 @@ Parameters
: string
-
@@ -559,7 +563,7 @@
@@ -598,7 +602,7 @@
@@ -692,6 +696,8 @@
@@ -566,7 +576,7 @@ Parameters
-
$name
- : string
+ : int|string
-
The name of the cookie.
@@ -626,7 +636,7 @@
-
InvalidArgument
-
When the passed $name argument is not a string.
+ When the passed $name argument is not an integer or string that conforms to RFC 2616.
@@ -690,7 +700,7 @@
@@ -727,7 +737,7 @@
@@ -782,7 +792,7 @@
@@ -984,7 +994,7 @@ Parameters
-
$cookie_header
- : string
+ : int|string
-
Cookie header value (from a Set-Cookie header)
@@ -1062,7 +1072,7 @@
@@ -377,7 +381,7 @@
@@ -451,7 +455,7 @@
@@ -556,7 +560,7 @@
@@ -619,6 +623,8 @@ Return values
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
+ d=document.getElementsByClassName("line-numbers");
+ d[0].scrollTop = d[0].children[1].offsetTop;
return;
}
diff --git a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status304.html b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status304.html
index 428ba2f6c..8fe1fab4f 100644
--- a/api-2.x/classes/WpOrg-Requests-Exception-Http-Status304.html
+++ b/api-2.x/classes/WpOrg-Requests-Exception-Http-Status304.html
@@ -69,6 +69,10 @@
-
+
@@ -389,7 +389,7 @@
@@ -420,7 +420,7 @@
@@ -451,7 +451,7 @@
@@ -482,7 +482,7 @@
@@ -513,7 +513,7 @@
@@ -544,7 +544,7 @@
@@ -575,7 +575,7 @@
@@ -606,7 +606,7 @@
@@ -646,7 +646,7 @@
-
+
@@ -675,7 +675,7 @@
@@ -683,7 +683,7 @@
public
- static encode(string|Stringable $hostname) : string
+ static encode(string|Stringable $hostname) : string
@@ -693,7 +693,7 @@ Parameters
-
$hostname
- : string|Stringable
+ : string|Stringable
-
Hostname
@@ -747,7 +747,7 @@
@@ -849,7 +849,7 @@
@@ -911,7 +911,6 @@ Return values
int|float
—
New bias
-function adapt(delta,numpoints,firsttime):
@@ -931,7 +930,7 @@
@@ -1010,7 +1009,7 @@
@@ -1065,7 +1064,7 @@
@@ -1163,6 +1162,8 @@ Return values
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
+ d=document.getElementsByClassName("line-numbers");
+ d[0].scrollTop = d[0].children[1].offsetTop;
return;
}
diff --git a/api-2.x/classes/WpOrg-Requests-Ipv6.html b/api-2.x/classes/WpOrg-Requests-Ipv6.html
index a14a82b8f..047f4a5b0 100644
--- a/api-2.x/classes/WpOrg-Requests-Ipv6.html
+++ b/api-2.x/classes/WpOrg-Requests-Ipv6.html
@@ -69,6 +69,10 @@
-
+
@@ -244,7 +244,7 @@
@@ -334,6 +334,8 @@
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
+ d=document.getElementsByClassName("line-numbers");
+ d[0].scrollTop = d[0].children[1].offsetTop;
return;
}
diff --git a/api-2.x/classes/WpOrg-Requests-Requests.html b/api-2.x/classes/WpOrg-Requests-Requests.html
index 96fb26b07..0e2322de5 100644
--- a/api-2.x/classes/WpOrg-Requests-Requests.html
+++ b/api-2.x/classes/WpOrg-Requests-Requests.html
@@ -69,6 +69,10 @@
The $options
parameter takes an associative array with the following
options:
--
-
timeout
: How long should we wait for a response?
+ timeout
: How long should we wait for a response?
Note: for cURL, a minimum of 1 second applies, as DNS resolution
operates at second-resolution only.
(float, seconds with a millisecond precision, default: 10, example: 0.01)
--
-
connect_timeout
: How long should we wait while trying to connect?
+ connect_timeout
: How long should we wait while trying to connect?
(float, seconds with a millisecond precision, default: 10, example: 0.01)
--
-
useragent
: Useragent to send to the server
+ useragent
: Useragent to send to the server
(string, default: php-requests/$version)
--
-
follow_redirects
: Should we follow 3xx redirects?
-(boolean, default: true)
--
-
redirects
: How many times should we redirect before erroring?
-(integer, default: 10)
--
-
blocking
: Should we block processing on this request?
-(boolean, default: true)
--
-
filename
: File to stream the body to instead.
-(string|boolean, default: false)
--
-
auth
: Authentication handler or array of user/password details to use
+ follow_redirects
: Should we follow 3xx redirects?
+(bool, default: true)
+redirects
: How many times should we redirect before erroring?
+(int, default: 10)
+blocking
: Should we block processing on this request?
+(bool, default: true)
+filename
: File to stream the body to instead.
+(string|bool, default: false)
+auth
: Authentication handler or array of user/password details to use
for Basic authentication
-(\WpOrg\Requests\Auth|array|boolean, default: false)
--
-
proxy
: Proxy details to use for proxy by-passing and authentication
-(\WpOrg\Requests\Proxy|array|string|boolean, default: false)
--
-
max_bytes
: Limit for the response body size.
-(integer|boolean, default: false)
--
-
idn
: Enable IDN parsing
-(boolean, default: true)
--
-
transport
: Custom transport. Either a class name, or a
+(\WpOrg\Requests\Auth|array|bool, default: false)
+proxy
: Proxy details to use for proxy by-passing and authentication
+(\WpOrg\Requests\Proxy|array|string|bool, default: false)
+max_bytes
: Limit for the response body size.
+(int|bool, default: false)
+idn
: Enable IDN parsing
+(bool, default: true)
+transport
: Custom transport. Either a class name, or a
transport object. Defaults to the first working transport from
Requests::getTransport()
(string|\WpOrg\Requests\Transport, default: Requests::getTransport())
--
-
hooks
: Hooks handler.
+ hooks
: Hooks handler.
(\WpOrg\Requests\HookManager, default: new WpOrg\Requests\Hooks())
--
-
verify
: Should we verify SSL certificates? Allows passing in a custom
+ verify
: Should we verify SSL certificates? Allows passing in a custom
certificate file as a string. (Using true uses the system-wide root
certificate store instead, but this may have different behaviour
across transports.)
-(string|boolean, default: certificates/cacert.pem)
--
-
verifyname
: Should we verify the common name in the SSL certificate?
-(boolean, default: true)
--
-
data_format
: How should we send the $data
parameter?
+(string|bool, default: certificates/cacert.pem)
+verifyname
: Should we verify the common name in the SSL certificate?
+(bool, default: true)
+data_format
: How should we send the $data
parameter?
(string, one of 'query' or 'body', default: 'query' for
HEAD/GET/DELETE, 'body' for POST/PUT/OPTIONS/PATCH)
@@ -2111,7 +2101,7 @@ Parameters
-
$url
- : string|Stringable
+ : string|Stringable
-
URL to request
@@ -2227,7 +2217,7 @@
@@ -2246,24 +2236,19 @@
multiple.request.complete
callback.
The request fields value is an associative array with the following keys:
--
-
url
: Request URL Same as the $url
parameter to
+ url
: Request URL Same as the $url
parameter to
Requests::request()
(string, required)
--
-
headers
: Associative array of header fields. Same as the $headers
+ headers
: Associative array of header fields. Same as the $headers
parameter to Requests::request()
(array, default: array()
)
--
-
data
: Associative array of data fields or a string. Same as the
+ data
: Associative array of data fields or a string. Same as the
$data
parameter to Requests::request()
(array|string, default: array()
)
--
-
type
: HTTP request type (use \WpOrg\Requests\Requests constants). Same as the $type
+ type
: HTTP request type (use \WpOrg\Requests\Requests constants). Same as the $type
parameter to Requests::request()
(string, default: \WpOrg\Requests\Requests::GET
)
--
-
cookies
: Associative array of cookie name to value, or cookie jar.
+ cookies
: Associative array of cookie name to value, or cookie jar.
(array|\WpOrg\Requests\Cookie\Jar)
If the $options
parameter is specified, individual requests will
@@ -2271,8 +2256,7 @@
or set all the types to \WpOrg\Requests\Requests::POST
, for example.
In addition, the $options
parameter takes the following global options:
--
-
complete
: A callback for when a request is complete. Takes two
+ complete
: A callback for when a request is complete. Takes two
parameters, a \WpOrg\Requests\Response/\WpOrg\Requests\Exception reference, and the
ID from the request array (Note: this can also be overridden on a
per-request basis, although that's a little silly)
@@ -2357,7 +2341,7 @@
@@ -2365,7 +2349,7 @@
public
- static set_certificate_path(string|Stringable|bool $path) : mixed
+ static set_certificate_path(string|Stringable|bool $path) : mixed
@@ -2375,7 +2359,7 @@ Parameters
-
$path
- : string|Stringable|bool
+ : string|Stringable|bool
-
Certificate path, pointing to a PEM file.
@@ -2421,7 +2405,7 @@
@@ -2480,7 +2464,7 @@
@@ -2549,7 +2533,7 @@
@@ -2621,7 +2605,7 @@
@@ -2689,7 +2673,7 @@
@@ -2745,7 +2729,7 @@
@@ -2869,7 +2853,7 @@
@@ -2995,6 +2979,8 @@
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
+ d=document.getElementsByClassName("line-numbers");
+ d[0].scrollTop = d[0].children[1].offsetTop;
return;
}
diff --git a/api-2.x/classes/WpOrg-Requests-Response-Headers.html b/api-2.x/classes/WpOrg-Requests-Response-Headers.html
index 7ef3bf897..5371ba754 100644
--- a/api-2.x/classes/WpOrg-Requests-Response-Headers.html
+++ b/api-2.x/classes/WpOrg-Requests-Response-Headers.html
@@ -69,6 +69,10 @@
-
-
@@ -344,7 +346,7 @@
@@ -391,7 +393,7 @@
@@ -466,7 +468,7 @@
@@ -509,7 +511,7 @@
@@ -551,7 +553,7 @@
@@ -623,7 +625,7 @@
@@ -689,7 +691,7 @@
@@ -749,7 +751,7 @@
@@ -822,7 +824,7 @@
@@ -904,6 +906,8 @@
+ -
+ license
+
+ -
+
+
https://github.com/WordPress/Requests/blob/stable/LICENSE ISC
+
+
+ -
+ link
+
+ -
+ https://github.com/WordPress/Requests
+
+
+
+
Table of Contents
@@ -174,8 +189,7 @@
- - Port
- Find the correct port depending on the Request type.
-
+ PortPort utilities for Requests
@@ -224,6 +238,8 @@
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
+ d=document.getElementsByClassName("line-numbers");
+ d[0].scrollTop = d[0].children[1].offsetTop;
return;
}
diff --git a/api-2.x/files/src-proxy-http.html b/api-2.x/files/src-proxy-http.html
index 0808fa32c..fc66856f3 100644
--- a/api-2.x/files/src-proxy-http.html
+++ b/api-2.x/files/src-proxy-http.html
@@ -69,6 +69,10 @@