Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F22979715
D18040.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
557 B
Referenced Files
None
Subscribers
None
D18040.diff
View Options
Index: src/future/http/HTTPSFuture.php
===================================================================
--- src/future/http/HTTPSFuture.php
+++ src/future/http/HTTPSFuture.php
@@ -207,6 +207,10 @@
curl_setopt($curl, CURLOPT_URL, $uri);
+ if (defined('CURLOPT_POSTREDIR')) {
+ curl_setopt($curl, CURLOPT_POSTREDIR, true);
+ }
+
if (defined('CURLOPT_PROTOCOLS')) {
// cURL supports a lot of protocols, and by default it will honor
// redirects across protocols (for instance, from HTTP to POP3). Beyond
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 5, 3:12 PM (3 h, 57 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
17393548
Default Alt Text
D18040.diff (557 B)
Attached To
Mode
D18040: Maintain POST requests when following redirects
Attached
Detach File
Event Timeline
Log In to Comment