]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/Requests/Exception/HTTP/401.php
Wordpress 4.6-scripts
[autoinstalls/wordpress.git] / wp-includes / Requests / Exception / HTTP / 401.php
diff --git a/wp-includes/Requests/Exception/HTTP/401.php b/wp-includes/Requests/Exception/HTTP/401.php
new file mode 100644 (file)
index 0000000..2e1e3d0
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Exception for 401 Unauthorized responses
+ *
+ * @package Requests
+ */
+
+/**
+ * Exception for 401 Unauthorized responses
+ *
+ * @package Requests
+ */
+class Requests_Exception_HTTP_401 extends Requests_Exception_HTTP {
+       /**
+        * HTTP status code
+        *
+        * @var integer
+        */
+       protected $code = 401;
+
+       /**
+        * Reason phrase
+        *
+        * @var string
+        */
+       protected $reason = 'Unauthorized';
+}
\ No newline at end of file