Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F871533
D28.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, May 7, 10:08 PM
Size
507 B
Mime Type
text/x-diff
Expires
Thu, May 8, 10:08 PM (2 h, 18 m)
Engine
blob
Format
Raw Data
Handle
617598
Attached To
D28: INP-1393 - Add description about "Except" header usage to "kCurlHelper" class
D28.diff
View Options
Index: branches/5.2.x/core/units/helpers/curl_helper.php
===================================================================
--- branches/5.2.x/core/units/helpers/curl_helper.php
+++ branches/5.2.x/core/units/helpers/curl_helper.php
@@ -208,6 +208,8 @@
// don't verify SSL certificates
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_SSL_VERIFYHOST => false,
+
+ // Prevents CURL from adding "Expect: 100-continue" header for POST requests.
CURLOPT_HTTPHEADER => Array ('Expect:'),
);
Event Timeline
Log In to Comment