@@ -404,20 +404,20 @@ public function testAuthBasicOptionExplicit(): void
404404 public function testAuthDigestOption (): void
405405 {
406406 $ output = "HTTP/1.1 401 Unauthorized
407- Server: ddos-guard
408- Set-Cookie: __ddg1=z177j4mLtqzC07v0zviU; Domain=.site.ru; HttpOnly; Path=/; Expires=Wed, 07-Jul-2021 15:13:14 GMT
409- WWW-Authenticate: Digest \x0d\x0a\x0d\x0aHTTP/1.1 200 OK
410- Server: ddos-guard
411- Connection: keep-alive
412- Keep-Alive: timeout=60
413- Set-Cookie: __ddg1=z177j4mLtqzC07v0zviU; Domain=.site.ru; HttpOnly; Path=/; Expires=Wed, 07-Jul-2021 15:13:14 GMT
414- Date: Tue, 07 Jul 2020 15:13:14 GMT
415- Expires: Thu, 19 Nov 1981 08:52:00 GMT
416- Cache-Control: no-store, no-cache, must-revalidate
417- Pragma: no-cache
418- Set-Cookie: PHPSESSID=80pd3hlg38mvjnelpvokp9lad0; path=/
419- Content-Type: application/xml; charset=utf-8
420- Transfer-Encoding: chunked \x0d\x0a\x0d\x0a<title>Update success! config</title> " ;
407+ Server: ddos-guard
408+ Set-Cookie: __ddg1=z177j4mLtqzC07v0zviU; Domain=.site.ru; HttpOnly; Path=/; Expires=Wed, 07-Jul-2021 15:13:14 GMT
409+ WWW-Authenticate: Digest \x0d\x0a\x0d\x0aHTTP/1.1 200 OK
410+ Server: ddos-guard
411+ Connection: keep-alive
412+ Keep-Alive: timeout=60
413+ Set-Cookie: __ddg1=z177j4mLtqzC07v0zviU; Domain=.site.ru; HttpOnly; Path=/; Expires=Wed, 07-Jul-2021 15:13:14 GMT
414+ Date: Tue, 07 Jul 2020 15:13:14 GMT
415+ Expires: Thu, 19 Nov 1981 08:52:00 GMT
416+ Cache-Control: no-store, no-cache, must-revalidate
417+ Pragma: no-cache
418+ Set-Cookie: PHPSESSID=80pd3hlg38mvjnelpvokp9lad0; path=/
419+ Content-Type: application/xml; charset=utf-8
420+ Transfer-Encoding: chunked \x0d\x0a\x0d\x0a<title>Update success! config</title> " ;
421421
422422 $ this ->request ->setOutput ($ output );
423423
@@ -457,20 +457,20 @@ public function testSetAuthBasic(): void
457457 public function testSetAuthDigest (): void
458458 {
459459 $ output = "HTTP/1.1 401 Unauthorized
460- Server: ddos-guard
461- Set-Cookie: __ddg1=z177j4mLtqzC07v0zviU; Domain=.site.ru; HttpOnly; Path=/; Expires=Wed, 07-Jul-2021 15:13:14 GMT
462- WWW-Authenticate: Digest \x0d\x0a\x0d\x0aHTTP/1.1 200 OK
463- Server: ddos-guard
464- Connection: keep-alive
465- Keep-Alive: timeout=60
466- Set-Cookie: __ddg1=z177j4mLtqzC07v0zviU; Domain=.site.ru; HttpOnly; Path=/; Expires=Wed, 07-Jul-2021 15:13:14 GMT
467- Date: Tue, 07 Jul 2020 15:13:14 GMT
468- Expires: Thu, 19 Nov 1981 08:52:00 GMT
469- Cache-Control: no-store, no-cache, must-revalidate
470- Pragma: no-cache
471- Set-Cookie: PHPSESSID=80pd3hlg38mvjnelpvokp9lad0; path=/
472- Content-Type: application/xml; charset=utf-8
473- Transfer-Encoding: chunked \x0d\x0a\x0d\x0a<title>Update success! config</title> " ;
460+ Server: ddos-guard
461+ Set-Cookie: __ddg1=z177j4mLtqzC07v0zviU; Domain=.site.ru; HttpOnly; Path=/; Expires=Wed, 07-Jul-2021 15:13:14 GMT
462+ WWW-Authenticate: Digest \x0d\x0a\x0d\x0aHTTP/1.1 200 OK
463+ Server: ddos-guard
464+ Connection: keep-alive
465+ Keep-Alive: timeout=60
466+ Set-Cookie: __ddg1=z177j4mLtqzC07v0zviU; Domain=.site.ru; HttpOnly; Path=/; Expires=Wed, 07-Jul-2021 15:13:14 GMT
467+ Date: Tue, 07 Jul 2020 15:13:14 GMT
468+ Expires: Thu, 19 Nov 1981 08:52:00 GMT
469+ Cache-Control: no-store, no-cache, must-revalidate
470+ Pragma: no-cache
471+ Set-Cookie: PHPSESSID=80pd3hlg38mvjnelpvokp9lad0; path=/
472+ Content-Type: application/xml; charset=utf-8
473+ Transfer-Encoding: chunked \x0d\x0a\x0d\x0a<title>Update success! config</title> " ;
474474
475475 $ this ->request ->setOutput ($ output );
476476
0 commit comments