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