Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2889056
HTTPFutureParseResponseStatus.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
639 B
Referenced Files
None
Subscribers
None
HTTPFutureParseResponseStatus.php
View Options
<?php
final
class
HTTPFutureParseResponseStatus
extends
HTTPFutureResponseStatus
{
const
ERROR_MALFORMED_RESPONSE
=
1
;
private
$rawResponse
;
public
function
__construct
(
$code
,
$raw_response
)
{
$this
->
rawResponse
=
$raw_response
;
parent
::
__construct
(
$code
)
;
}
protected
function
getErrorCodeType
(
$code
)
{
return
'Parse'
;
}
public
function
isError
(
)
{
return
true
;
}
public
function
isTimeout
(
)
{
return
false
;
}
protected
function
getErrorCodeDescription
(
$code
)
{
return
pht
(
'The remote host returned something other than an HTTP response: %s'
,
$this
->
rawResponse
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Jan 19 2025, 11:11 (5 w, 16 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1124162
Default Alt Text
HTTPFutureParseResponseStatus.php (639 B)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment