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