Mercurial > hg > nginx-tests
changeset 264:5ed8ef14f79c
Tests: fixed test of multiple Cache-Control headers.
The $sent_http_cache_control variable will soon use comma as a separator.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 27 Feb 2013 17:12:25 +0400 |
parents | 71bb2a896c7a |
children | a4e46d78ea6d |
files | http_variables.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/http_variables.t Mon Feb 18 19:33:34 2013 +0400 +++ b/http_variables.t Wed Feb 27 17:12:25 2013 +0400 @@ -84,7 +84,7 @@ } like($log, qr!^/: -$!m, 'no header'); -like($log, qr!^/set: max-age=3600; private; must-revalidate$!m, +like($log, qr!^/set: max-age=3600[,;] private[,;] must-revalidate$!m, 'multi headers'); like($log, qr!^/redefine: no-cache$!m, 'ignoring headers with (hash == 0)');