Mercurial > hg > nginx-tests
comparison proxy_force_ranges.t @ 1475:86510f795546
Tests: range filter TODO adjusted.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 14 May 2019 13:37:04 +0300 |
parents | f026c41335b2 |
children | 5ac6efbe5552 |
comparison
equal
deleted
inserted
replaced
1474:f026c41335b2 | 1475:86510f795546 |
---|---|
108 qr/^THIS/m, 'if-range etag proxy'); | 108 qr/^THIS/m, 'if-range etag proxy'); |
109 | 109 |
110 # range sent using chunked transfer encoding | 110 # range sent using chunked transfer encoding |
111 | 111 |
112 TODO: { | 112 TODO: { |
113 local $TODO = 'not yet'; | 113 local $TODO = 'not yet' unless $t->has_version('1.17.0'); |
114 | 114 |
115 like(http_get_range('/proxy/t.html', 'Range: bytes=-2'), | 115 like(http_get_range('/proxy/t.html', 'Range: bytes=-2'), |
116 qr/2${CRLF}IS${CRLF}0$CRLF$CRLF$/, 'no dublicate final chunk'); | 116 qr/2${CRLF}IS${CRLF}0$CRLF$CRLF$/, 'no dublicate final chunk'); |
117 | 117 |
118 } | 118 } |