- Enh #239: Support for PHP 8.1 (rhertogh)
- Bug #240: Fixed
\yii\httpclient\Response::getIsOk()
to include entire 2xx response code range (rhertogh)
- Bug #224: Parse content when it is not an empty string (pawmaster)
- Bug #226: Fix error in debug panel due to PHP 8.1 deprecation of implicit float to int conversion (lacek)
- Enh #215: Added possibility to skip charset in header on
UrlEncodedFormatter::format()
(egorrishe) - Enh #216: Use
random_int()
when generating boundary (samdark)
- Bug #209: Fixed error code, thrown by Exception in
CurlTransport
(kwazaro)
- Enh #192: Implement
Request::responseTime()
which returns the seconds (microtime precession) elapsed from request to response (HenryVolkmer)
- Bug #189: Fixed Content-Length header when using
CURLOPT_INFILE
option (alexkart)
- Enh #167: Added support of multiple parameters with the same name for multipart requests (alexkart)
- Bug #149: Fixed type error in
StreamTransport
when$http_response_header = null
(alexkart) - Bug #171: Added "Content-Length: 0" header when sending request with empty body (alexkart)
- Enh #66: Added
CURLOPT_FILE
option support toCurlTransport
(alexkart) - Enh #85: Added
CurlFormatter
in order to supportCURLFile
for uploading files (alexkart)
- Bug #168:
Response::detectFormatByContent
falsely detected HTML as XML (CeBe) - Bug #173: Added extra check to
Message::addData()
to prevent error on trying to merge non-array (samdark) - Enh #153: Allow configuring
JsonParser
to parse JSON as objects instead of arrays (CeBe) - Enh #174: Add
MockTransport
for test environments (Slamdunk)
- Bug #165:
Response::detectFormatByContent
now detects JSON Array (germanow) - Enh #156: Added
Request::setFullUrl()
return reference (vuongxuongminh)
- Bug #129: Fixed
Message::getHeaders()
unable to parse HTTP status code in case reason phrase contains:
character (lan143) - Enh #142:
Request::createFullUrl()
now prevents appearance of multiple slashes while combiningClient::$baseUrl
andRequest::$url
(zhangdi)
- Bug #128: Fixed
Response
with redirection takes wrong 'Content-Type' header value for content parsing (klimov-paul) - Bug: Usage of deprecated
yii\base\Object
changed toyii\base\BaseObject
allowing compatibility with PHP 7.2 (klimov-paul) - Enh #119: Options for client SSL certificate specification added to
Request::$options
(bscheshirwork) - Chg #118: Enforced cookie validation removed from
Request
(klimov-paul)
- Bug #94: Fixed
XmlParser
does not respects character encoding from response headers (klimov-paul) - Bug #98: Fixed
Request::composeCookieHeader()
no longer performs url-encoding over cookie value (klimov-paul) - Bug #99: Fixed
Request::$content
is set to empty string byUrlEncodedFormatter
andJsonFormatter
from empty data (klimov-paul) - Bug #102: Fixed
XmlParser
does not converts\SimpleXMLElement
into array for the grouped tags (kids-return)
- Bug #74: Fixed unable to reuse
Request
instance for sending several requests with different data (klimov-paul) - Bug #76: Fixed
HttpClientPanel
triggersE_WARNING
on attempt to view history debug entry, generated without panel being attached (klimov-paul) - Bug #79: Fixed inability to use URL with query parameters as
Client::$baseUrl
(klimov-paul) - Bug #81: Fixed invalid Content-Disposition header in multipart request (cebe, PowerGamer1)
- Bug #87: Fixed
Request::addOptions()
unable to override already set CURL options (klimov-paul) - Bug #88: Fixed
UrlEncodedFormatter
duplicates GET parameters during multiple request preparations (klimov-paul)
- Bug #61: Response headers extraction at
StreamTransport
changed to use$http_response_header
to be more reliable (klimov-paul) - Bug #70: Fixed
Request::toString()
triggersE_NOTICE
for not prepared request (klimov-paul) - Bug #73: Fixed
Response::detectFormatByContent()
unable to detect URL-encoded format, if source content contains|
symbol (klimov-paul)
- Bug #44: Fixed exception name collision at
Response
andTransport
(cebe) - Bug #45: Fixed
XmlFormatter
unable to handle array with numeric keys (klimov-paul) - Bug #53: Fixed
XmlParser
unable to parse value wrapped with 'CDATA' (DrDeath72) - Bug #55: Fixed invalid display of Debug Toolbar summary block (rahimov)
- Enh #43: Events
EVENT_BEFORE_SEND
andEVENT_AFTER_SEND
added toRequest
andClient
(klimov-paul) - Enh #46: Added
Request::getFullUrl()
allowing getting the full actual request URL (klimov-paul) - Enh #47: Added
Message::addData()
allowing addition of the content data to already existing one (klimov-paul) - Enh #50: Option 'protocolVersion' added to
Request::$options
allowing specification of the HTTP protocol version (klimov-paul) - Enh #58: Added
UrlEncodedFormatter::$charset
allowing specification of content charset (klimov-paul) - Enh: Added
XmlFormatter::useTraversableAsArray
allowing processing\Traversable
as array (klimov-paul)
- Enh: Fixed PHPdoc annotations (cebe)
- Initial release.