Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
twose committed May 8, 2020
1 parent b8c8d64 commit afb022c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -26,8 +26,8 @@
},
"require": {
"php": ">=7.1",
"swlib/http": "1.0.6",
"swlib/util": "1.0.1"
"swlib/http": "1.0.7",
"swlib/util": "1.0.2"
},
"require-dev": {
"phpunit/phpunit": "~7"
Expand Down
2 changes: 1 addition & 1 deletion src/Request.php
Expand Up @@ -96,7 +96,7 @@ class Request extends \Swlib\Http\Request
function __construct(string $method = 'GET', $uri = '', array $headers = [], ?StreamInterface $body = null)
{
parent::__construct($method, $uri, $headers, $body);
$this->__cookiesInitialization(true);
$this->__constructCookiesManager(true);
$this->initBasicAuth();
}

Expand Down
2 changes: 1 addition & 1 deletion src/Response.php
Expand Up @@ -93,7 +93,7 @@ function __construct(Request $request)
$this->withBody(stream_for($body));

/** data parser */
$this->__stringDataParserInitialization($this->body);
$this->__constructStringDataParser($this->body);
/** mark */
$this->special_marks = $request->special_marks;

Expand Down

0 comments on commit afb022c

Please sign in to comment.