Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F803995
D28.id78.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, Feb 26, 9:03 AM
Size
461 B
Mime Type
text/x-diff
Expires
Thu, Feb 27, 9:03 AM (4 h, 40 m)
Engine
blob
Format
Raw Data
Handle
576714
Attached To
D28: INP-1393 - Add description about "Except" header usage to "kCurlHelper" class
D28.id78.diff
View Options
Index: core/units/helpers/curl_helper.php
===================================================================
--- core/units/helpers/curl_helper.php
+++ 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