2014-04-23 10:51:50 +08:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* HTTP Response from HttpSocket.
|
|
|
|
*
|
2018-03-18 09:24:15 +08:00
|
|
|
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
|
|
|
|
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
|
2014-04-23 10:51:50 +08:00
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
|
|
|
* For full copyright and license information, please see the LICENSE.txt
|
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
2018-03-18 09:24:15 +08:00
|
|
|
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
|
|
|
|
* @link https://cakephp.org CakePHP(tm) Project
|
2014-04-23 10:51:50 +08:00
|
|
|
* @since CakePHP(tm) v 2.0.0
|
2018-03-18 09:24:15 +08:00
|
|
|
* @license https://opensource.org/licenses/mit-license.php MIT License
|
2014-04-23 10:51:50 +08: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);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* HTTP Response from HttpSocket.
|
|
|
|
*
|
|
|
|
* @package Cake.Network.Http
|
2016-02-25 20:25:24 +08:00
|
|
|
* @deprecated 3.0.0 This class is deprecated as it has naming conflicts with pecl/http
|
2014-04-23 10:51:50 +08:00
|
|
|
*/
|
|
|
|
class HttpResponse extends HttpSocketResponse {
|
|
|
|
|
|
|
|
}
|