2010-12-14 02:16:45 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* HTTP Response from HttpSocket.
|
|
|
|
*
|
2017-06-10 21:33:55 +00:00
|
|
|
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
|
2017-06-10 22:10:52 +00:00
|
|
|
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
|
2010-12-14 02:16:45 +00:00
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
2013-02-08 12:22:51 +00:00
|
|
|
* For full copyright and license information, please see the LICENSE.txt
|
2010-12-14 02:16:45 +00:00
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
2017-06-10 22:10:52 +00:00
|
|
|
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
|
2017-06-10 21:33:55 +00:00
|
|
|
* @link https://cakephp.org CakePHP(tm) Project
|
2010-12-14 02:16:45 +00:00
|
|
|
* @since CakePHP(tm) v 2.0.0
|
2017-06-10 22:23:14 +00:00
|
|
|
* @license https://opensource.org/licenses/mit-license.php MIT License
|
2010-12-14 02:16:45 +00:00
|
|
|
*/
|
2013-05-30 22:11:14 +00:00
|
|
|
|
2012-11-11 02:41:24 +00:00
|
|
|
App::uses('HttpSocketResponse', 'Network/Http');
|
|
|
|
|
|
|
|
if (class_exists('HttpResponse')) {
|
|
|
|
trigger_error(__d(
|
|
|
|
'cake_dev',
|
|
|
|
"HttpResponse is deprecated due to naming conflicts. Use HttpSocketResponse instead."
|
|
|
|
), E_USER_ERROR);
|
|
|
|
}
|
2010-12-14 02:16:45 +00:00
|
|
|
|
2011-10-10 22:22:23 +00:00
|
|
|
/**
|
2011-12-08 15:35:02 +00:00
|
|
|
* HTTP Response from HttpSocket.
|
2011-10-10 22:22:23 +00:00
|
|
|
*
|
|
|
|
* @package Cake.Network.Http
|
2014-09-02 15:03:22 +00:00
|
|
|
* @deprecated 3.0.0 This class is deprecated as it has naming conflicts with pecl/http
|
2011-10-10 22:22:23 +00:00
|
|
|
*/
|
2012-11-11 02:41:24 +00:00
|
|
|
class HttpResponse extends HttpSocketResponse {
|
2010-12-14 02:16:45 +00:00
|
|
|
|
|
|
|
}
|