Commit Graph

18 Commits

Author SHA1 Message Date
Gaurang Rajvir
1208b8c21f Added condition to ignore extra header
I have added condition to ignore extra header which dont have colon ( : ) 
I am currently facing issue in my project and I am taking paypal sdk from composer..

is it the right source to update or any other ?
2018-02-13 17:55:41 +05:30
Bryant Luk
bc139915df Avoids calculating header size in curl responses (#677)
- Removes complex conditions around parsing response headers
2017-05-11 12:53:32 -05:00
brluk and dkatz
6a8e97db09 Remove automatic retries 2016-12-13 20:56:30 +00:00
Ahmad Saad Aldeen
5cec5d9c07 Could not generate new Access token. Invalid response from server
Passing null as length will not make mb_substr use it's default, instead it will interpret it as 0.
$result = mb_substr($result, $responseHeaderSize, null, '8bit');
Instead use:
$result = mb_substr($result, $responseHeaderSize, mb_strlen($result), '8bit');
2016-09-30 20:49:53 +02:00
Bernd Höhl
667d574ec0 removing newline 2016-09-23 20:13:21 +02:00
Bernd Hoehl
d168a029f9 checking if mb_strlen exists 2016-09-22 14:50:35 +02:00
Bernd Hoehl
fb1be9ca23 turning tabs into spaces 2016-09-22 13:19:49 +02:00
Bernd Hoehl
651835bbf9 using mb_ functions with 8bit encoding 2016-09-22 13:18:18 +02:00
Jay Patel
1401d5563d [PSR] Fixed library source
- Using `php-cs-fixer` tool.
2016-07-14 13:10:21 -05:00
Jay Patel
0753d2fba0 Minor Bug Fix
- Fixes #575
2016-05-10 15:07:10 -05:00
Rick Guyer
9f94d9357e Remove duplicate docblock 2015-11-25 13:00:38 -06:00
İrfan Evrens
70fe1941ad Fixed switch case logical problem. 2015-06-26 09:47:54 +03:00
İrfan Evrens
def426fd23 Fixed some lines. 2015-06-26 00:02:26 +03:00
İrfan Evrens
cefecede81 Tiny improvements. 2015-06-25 23:08:11 +03:00
Jay Patel
226922bca3 Enabled DELETE to have data
- Fixes #311
2015-05-20 12:56:11 -05:00
Jay Patel
207c2c233e Fixed CURLINFO_HEADER_SIZE miscalculations if Proxy Enabled
- Fixes #258
2015-03-01 16:04:18 -06:00
japatel
217a54f0a6 Updates to Logging
- Logging Level DEBUG introduced
- Logging Level FINE deprecated to INFO
- Logging Level restricted to INFO in live environments
- Warning on using DEBUG in live environments
- Fixes #215. Not Entirely, but one step ahead
2015-02-04 15:52:34 -06:00
japatel
9c0827643b Renaming Namespaces and Organizing Classes
- Updated OpenId classes to be in API namespace
- Updated PP Naming Convention to PayPal Naming Convention
- FormatConverter Class got its own namespace
- Handlers are grouped in Handler namespace
- Samples and Tests Updated Accordingly
2014-12-18 14:16:41 -06:00