72 Commits (f509c41280768b1d3047271ec5b50da33184d98d)

Author SHA1 Message Date
Jordi Boggiano 1c468e7c02 Fix cs 11 years ago
Markus Tacker 821f57f443 A bug in PHP prevents the headers from correctly beeing sent when a content-type header is present and
NOT at the end of the array

https://bugs.php.net/bug.php?id=61548

This updates fixes the array by moving the content-type header to the end
11 years ago
Jordi Boggiano 308e2ff4cb Add support for headers as strings to avoid regressions, refs #1387 12 years ago
Jordi Boggiano cd284733ef Fix proxy scheme concatenation, fixes #1250 12 years ago
Jordi Boggiano 7aab7c6297 Fix StreamContextFactory tests 12 years ago
Nikita Baksalyar 8f0f1e3aac Fixed an issue with HTTP proxy and PHP 5.4 12 years ago
WanWizard e24226162d fixed getContext() choking on empty HTTP_PROXY environment variable
Signed-off-by: WanWizard <wanwizard@wanwizard.eu>
12 years ago
Jordi Boggiano c440b4594a More PSR-2 goodness 12 years ago
Jordi Boggiano 1bd4ccbd54 php-cs-fixer magic 12 years ago
Jordi Boggiano 072f4397a0 Fix default options handling in StreamContextFactory 12 years ago
Maxim Chernyshev 5294cb222c Precious community feedback-based refactoring 12 years ago
Maxim Chernyshev 1ae0a1b7af Follow-up coding standard fixes 12 years ago
Maxim Chernyshev 37476eb61f Fixed indentation 12 years ago
Maxim Chernyshev 8918551f29 Simplified proxy port determination and passed tests 12 years ago
Maxim Chernyshev 2ca50a1ef3 Merged in upstream 12 years ago
Maxim Chernyshev 419a1cedf0 Proxy credentials are now passed as part of HTTP headers 12 years ago
Danny Berger e7ba0c38a8 Add default http(s) ports to proxy configuration if they are missing. 12 years ago
Jordi Boggiano 81fdd790f2 Notes on HTTP_PROXY env var 12 years ago
Jordan Alliot b4d87af959 Changed array_merge to array_merge_recursive 13 years ago
Jordan Alliot 468eb0ed8d Merge default options after buildind proxy one 13 years ago
Jordan Alliot 054faef5eb New context at each call and possibility to add more options and params to the context 13 years ago
Jordan Alliot 9c27e38654 Moved proxy handling to a new class so that it can be reused in other parts of Composer 13 years ago