Releases: Rehyved/php-http-client
Configuration & Documentation
In this release the documentation of the different classes has been updated.
In addition it is now possible to override default configuration for:
- SSL certificate verification (enable/disable)
- Request timeouts
- Default request headers
Support for disabling SSL certificate verification
It is now possible to disable the verification of SSL certificates when using HttpRequest.
This can be done by using the following syntax HttpRequest::create("url")->verifySslCertificates(false)
.
Support for multipart file uploads
File uploads where not possible due to default conversion to a application/x-www-form-urlencoded
body. This has now been changed and the HttpRequest::post(string $path, $body)
function can now be used to upload files.
Updated dependencies and namespaces
Updated dependencies to newest versions and updated namespaces
Initial pre-release. basic functionality in place
This pre-release includes basic functionality:
- Cookies
- Headers
- JSON body
- multipart body
- urlencoded body
- query parameters
- authorization
- basic authentication
- redirects
This release also includes some helper libraries which will be moved to a separate repo later.