Giter VIP home page Giter VIP logo

http's People

Contributors

achal-aggarwal avatar bitbaendiger avatar brianteeman avatar c-lodder avatar dongilbert avatar eddieajau avatar elkuku avatar hackwar avatar ianmacl avatar joomla-jenkins avatar mbabker avatar nibra avatar nicksavov avatar philetaylor avatar photodude avatar piotr-cz avatar realityking avatar snipersister avatar wilsonge avatar zero-24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

http's Issues

Support for custom classes in the Factory

The Factory should be able to support custom implementations as well as the base classes as part of this package. Our social API packages which subclass Joomla\Http\Http are unable to use the factory to build an instance of this because of the hardcoded dependencies.

Multiple Set-Cookie headers in curl response overwrite each other

Not sure if this is something that should be fixed be or is willing to be fixed - but finding a scenario where a curl response could have multiple Set-Cookie headers. But because https://github.com/joomla-framework/http/blob/master/src/Transport/Curl.php#L279 merges the headers into an associative array, only the last header is made available to the calling script with no way to access the original headers.

To reproduce, create a simple script that set's several cookies with setcookie(). Then a second script using this package to post to it and examine the $response->headers. Only the last Set-Cookie header will be available.

As a work around - will look at using a curl cookie jar but was hoping for something "in memory" rather than writing cookies to a file.

[2.0] PSR-18 Exception Compliance

Exceptions thrown within the transports need to implement Psr\Http\Client\ClientExceptionInterface. This is going to require creating new Exception subclasses for the various error cases still using core PHP exceptions to fulfill this contract. As we don't work with Psr\Http\Message\RequestInterface in the transports, use of the two sub-interfaces is not needed.

Remove expired DST Root CA X3

Steps to reproduce the issue

Update composer/ca-bundle to latest version on 1.0.x branch to remove expired DST Root CA X3 rcoot certificate.

Remove old expired DST Root CA X3 Let's Encrypt root certificate - see Old Let’s Encrypt Root Certificate Expiration and OpenSSL 1.0.2

Expected result

HTTPS connections to servers with latests Let's Encrypt certificates from server with openssl version 1.0.2 are working.

Actual result

HTTPS connections to servers with latests Let's Encrypt certificates from server with openssl version 1.0.2 are NOT working

System information (as much as possible)

Any server with openssl 1.0.2

Additional comments

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.