Skip to content

Commit 659b92c

Browse files
committed
fixed a test case in conditional-get: we should really turn off the server tokens.
1 parent 8df221e commit 659b92c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/conditional-get.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ Last-Modified: Thu, 10 May 2012 07:50:59 GMT
201201
202202
=== TEST 7: cache hit (I-U-S conditional GET, 412)
203203
--- config
204+
server_tokens off;
204205
location /cats {
205206
srcache_fetch GET /memc $uri;
206207
srcache_store PUT /memc $uri;
@@ -223,7 +224,7 @@ GET /cats
223224
If-Unmodified-Since: Thu, 10 May 2012 07:50:58 GMT
224225
--- response_headers
225226
Content-Type: text/html
226-
Content-Length: 204
227+
Content-Length: 182
227228
!Last-Modified
228229
--- response_body_like: 412 Precondition Failed
229230
--- error_code: 412

0 commit comments

Comments
 (0)