1: <?php
2: /**
3: * HTTP Response from HttpSocket.
4: *
5: * PHP 5
6: *
7: * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
8: * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
9: *
10: * Licensed under The MIT License
11: * For full copyright and license information, please see the LICENSE.txt
12: * Redistributions of files must retain the above copyright notice.
13: *
14: * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
15: * @link http://cakephp.org CakePHP(tm) Project
16: * @since CakePHP(tm) v 2.0.0
17: * @license http://www.opensource.org/licenses/mit-license.php MIT License
18: */
19:
20: App::uses('HttpSocketResponse', 'Network/Http');
21:
22: if (class_exists('HttpResponse')) {
23: trigger_error(__d(
24: 'cake_dev',
25: "HttpResponse is deprecated due to naming conflicts. Use HttpSocketResponse instead."
26: ), E_USER_ERROR);
27: }
28:
29: /**
30: * HTTP Response from HttpSocket.
31: *
32: * @package Cake.Network.Http
33: * @deprecated This class is deprecated as it has naming conflicts with pecl/http
34: */
35: class HttpResponse extends HttpSocketResponse {
36:
37: }
38: