Page MenuHomePhabricator

D17580.diff
No OneTemporary

D17580.diff

diff --git a/src/applications/search/fulltextstorage/PhabricatorElasticFulltextStorageEngine.php b/src/applications/search/fulltextstorage/PhabricatorElasticFulltextStorageEngine.php
--- a/src/applications/search/fulltextstorage/PhabricatorElasticFulltextStorageEngine.php
+++ b/src/applications/search/fulltextstorage/PhabricatorElasticFulltextStorageEngine.php
@@ -551,6 +551,8 @@
$uri = $host->getURI($path);
$data = phutil_json_encode($data);
$future = new HTTPSFuture($uri, $data);
+ $future->addHeader('Content-Type', 'application/json');
+
if ($method != 'GET') {
$future->setMethod($method);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 10:23 PM (7 h, 18 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6933441
Default Alt Text
D17580.diff (638 B)

Event Timeline