/wp-includes/Requests/Exception/HTTP/418.php

https://bitbucket.org/skyarch-iijima/wordpress · PHP · 29 lines · 5 code · 2 blank · 22 comment · 0 complexity · 4a21bae298f1c9feda5b0e93fe348af3 MD5 · raw file

  1. <?php
  2. /**
  3. * Exception for 418 I'm A Teapot responses
  4. *
  5. * @see https://tools.ietf.org/html/rfc2324
  6. * @package Requests
  7. */
  8. /**
  9. * Exception for 418 I'm A Teapot responses
  10. *
  11. * @see https://tools.ietf.org/html/rfc2324
  12. * @package Requests
  13. */
  14. class Requests_Exception_HTTP_418 extends Requests_Exception_HTTP {
  15. /**
  16. * HTTP status code
  17. *
  18. * @var integer
  19. */
  20. protected $code = 418;
  21. /**
  22. * Reason phrase
  23. *
  24. * @var string
  25. */
  26. protected $reason = "I'm A Teapot";
  27. }