Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2895129
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
750 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/aphront/response/AphrontPlainTextResponse.php b/src/aphront/response/AphrontPlainTextResponse.php
index a14b7367e9..d8289ab2f9 100644
--- a/src/aphront/response/AphrontPlainTextResponse.php
+++ b/src/aphront/response/AphrontPlainTextResponse.php
@@ -1,22 +1,24 @@
<?php
final class AphrontPlainTextResponse 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', 'text/plain; charset=utf-8'),
);
return array_merge(parent::getHeaders(), $headers);
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Jan 19 2025, 20:58 (6 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1128691
Default Alt Text
(750 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment