Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F23021844
D18040.id.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.id.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
Sun, Nov 29, 3:13 AM (9 h, 4 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
17425078
Default Alt Text
D18040.id.diff (557 B)
Attached To
Mode
D18040: Maintain POST requests when following redirects
Attached
Detach File
Event Timeline
Log In to Comment