"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Http/Client/Auth/Digest.php" between
cakephp-4.0.1.tar.gz and cakephp-4.0.2.tar.gz

About: CakePHP is a rapid development framework for PHP applications. Source code.

Digest.php  (cakephp-4.0.1):Digest.php  (cakephp-4.0.2)
skipping to change at line 68 skipping to change at line 68
return $request; return $request;
} }
if (!isset($credentials['realm'])) { if (!isset($credentials['realm'])) {
$credentials = $this->_getServerInfo($request, $credentials); $credentials = $this->_getServerInfo($request, $credentials);
} }
if (!isset($credentials['realm'])) { if (!isset($credentials['realm'])) {
return $request; return $request;
} }
$value = $this->_generateHeader($request, $credentials); $value = $this->_generateHeader($request, $credentials);
/** @var \Cake\Http\Client\Request */
return $request->withHeader('Authorization', $value); return $request->withHeader('Authorization', $value);
} }
/** /**
* Retrieve information about the authentication * Retrieve information about the authentication
* *
* Will get the realm and other tokens by performing * Will get the realm and other tokens by performing
* another request without authentication to get authentication * another request without authentication to get authentication
* challenge. * challenge.
* *
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)