]> scripts.mit.edu Git - autoinstallsdev/wordpress.git/blobdiff - wp-includes/Requests/Exception/HTTP/431.php
Wordpress 4.6-scripts
[autoinstallsdev/wordpress.git] / wp-includes / Requests / Exception / HTTP / 431.php
diff --git a/wp-includes/Requests/Exception/HTTP/431.php b/wp-includes/Requests/Exception/HTTP/431.php
new file mode 100644 (file)
index 0000000..ba1294e
--- /dev/null
@@ -0,0 +1,29 @@
+<?php
+/**
+ * Exception for 431 Request Header Fields Too Large responses
+ *
+ * @see https://tools.ietf.org/html/rfc6585
+ * @package Requests
+ */
+
+/**
+ * Exception for 431 Request Header Fields Too Large responses
+ *
+ * @see https://tools.ietf.org/html/rfc6585
+ * @package Requests
+ */
+class Requests_Exception_HTTP_431 extends Requests_Exception_HTTP {
+       /**
+        * HTTP status code
+        *
+        * @var integer
+        */
+       protected $code = 431;
+
+       /**
+        * Reason phrase
+        *
+        * @var string
+        */
+       protected $reason = 'Request Header Fields Too Large';
+}
\ No newline at end of file