Page MenuHomePhabricator

D17580.id42292.diff
No OneTemporary

D17580.id42292.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
Tue, Mar 18, 12:22 PM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7709816
Default Alt Text
D17580.id42292.diff (638 B)

Event Timeline