Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F543487
DiffusionMercurialResponse.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
572 B
Referenced Files
None
Subscribers
None
DiffusionMercurialResponse.php
View Options
<?php
final
class
DiffusionMercurialResponse
extends
AphrontResponse
{
private
$content
;
public
function
setContent
(
$content
)
{
$this
->
content
=
$content
;
return
$this
;
}
public
function
buildResponseString
()
{
return
$this
->
content
;
}
public
function
getHeaders
()
{
$headers
=
array
(
array
(
'Content-Type'
,
'application/mercurial-0.1'
),
);
return
array_merge
(
parent
::
getHeaders
(),
$headers
);
}
public
function
getCacheHeaders
()
{
return
array
();
}
public
function
getHTTPResponseCode
()
{
return
200
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 11:16 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120068
Default Alt Text
DiffusionMercurialResponse.php (572 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment