Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97994737
DiffusionMercurialResponse.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jan 8, 09:54
Size
572 B
Mime Type
text/x-php
Expires
Fri, Jan 10, 09:54 (2 d)
Engine
blob
Format
Raw Data
Handle
23475321
Attached To
rPH Phabricator
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
;
}
}
Event Timeline
Log In to Comment