summaryrefslogtreecommitdiff
path: root/src/node_http2.h
diff options
context:
space:
mode:
authorSergei Osipov <cubisto@ya.ru>2019-10-08 00:44:34 +0300
committerRich Trott <rtrott@gmail.com>2019-10-10 10:48:13 -0700
commit458a38c904c78b072f4b49c45dda7c63987bb60b (patch)
treebdcc5733464bdfa4ac79cdd01ad36a06e9772f2e /src/node_http2.h
parent8b9a578bf96ce323a61fb6f255a413fa78e5b341 (diff)
downloadandroid-node-v8-458a38c904c78b072f4b49c45dda7c63987bb60b.tar.gz
android-node-v8-458a38c904c78b072f4b49c45dda7c63987bb60b.tar.bz2
android-node-v8-458a38c904c78b072f4b49c45dda7c63987bb60b.zip
src: bring 425 status code name into accordance with RFC 8470
PR-URL: https://github.com/nodejs/node/pull/29880 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_http2.h')
-rw-r--r--src/node_http2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_http2.h b/src/node_http2.h
index 94be1b0341..6aeb69fa84 100644
--- a/src/node_http2.h
+++ b/src/node_http2.h
@@ -287,7 +287,7 @@ enum http_known_headers {
V(UNPROCESSABLE_ENTITY, 422) \
V(LOCKED, 423) \
V(FAILED_DEPENDENCY, 424) \
- V(UNORDERED_COLLECTION, 425) \
+ V(TOO_EARLY, 425) \
V(UPGRADE_REQUIRED, 426) \
V(PRECONDITION_REQUIRED, 428) \
V(TOO_MANY_REQUESTS, 429) \