Changeset View
Changeset View
Standalone View
Standalone View
src/aphront/response/AphrontHTMLResponse.php
| <?php | <?php | ||||
| /** | |||||
| * @group aphront | |||||
| */ | |||||
| abstract class AphrontHTMLResponse extends AphrontResponse { | abstract class AphrontHTMLResponse extends AphrontResponse { | ||||
| public function getHeaders() { | public function getHeaders() { | ||||
| $headers = array( | $headers = array( | ||||
| array('Content-Type', 'text/html; charset=UTF-8'), | array('Content-Type', 'text/html; charset=UTF-8'), | ||||
| ); | ); | ||||
| $headers = array_merge(parent::getHeaders(), $headers); | $headers = array_merge(parent::getHeaders(), $headers); | ||||
| return $headers; | return $headers; | ||||
| } | } | ||||
| } | } | ||||