From 0b02a6d123b2014705998c94ddf3d460948d3eac Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 10 May 2016 17:26:44 -0700 Subject: initial sabre upgrade (needs lots of work - to wit: authentication, redo the browser interface, and rework event export/import) --- vendor/sabre/http/lib/ClientHttpException.php | 58 +++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 vendor/sabre/http/lib/ClientHttpException.php (limited to 'vendor/sabre/http/lib/ClientHttpException.php') diff --git a/vendor/sabre/http/lib/ClientHttpException.php b/vendor/sabre/http/lib/ClientHttpException.php new file mode 100644 index 000000000..2923ef3b5 --- /dev/null +++ b/vendor/sabre/http/lib/ClientHttpException.php @@ -0,0 +1,58 @@ +response = $response; + parent::__construct($response->getStatusText(), $response->getStatus()); + + } + + /** + * The http status code for the error. + * + * @return int + */ + function getHttpStatus() { + + return $this->response->getStatus(); + + } + + /** + * Returns the full response object. + * + * @return ResponseInterface + */ + function getResponse() { + + return $this->response; + + } + +} -- cgit v1.2.3