Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14638803
D16464.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
560 B
Referenced Files
None
Subscribers
None
D16464.diff
View Options
diff --git a/src/conduit/ConduitClient.php b/src/conduit/ConduitClient.php
--- a/src/conduit/ConduitClient.php
+++ b/src/conduit/ConduitClient.php
@@ -144,7 +144,7 @@
// Always use the cURL-based HTTPSFuture, for proxy support and other
// protocol edge cases that HTTPFuture does not support.
$core_future = new HTTPSFuture($uri, $data);
- $core_future->addHeader('Host', $this->getHost());
+ $core_future->addHeader('Host', $this->getHostString());
$core_future->setMethod('POST');
$core_future->setTimeout($this->timeout);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 12, 1:46 AM (20 h, 51 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6986023
Default Alt Text
D16464.diff (560 B)
Attached To
Mode
D16464: Properly Set Host Header in Conduit Client
Attached
Detach File
Event Timeline
Log In to Comment