416015 Handle null Accept-Language and other headers

This commit is contained in:
Greg Wilkins 2013-09-09 17:47:25 +10:00
parent 843e94e4e0
commit 6ff664baf2
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ public class RequestTest
assertNull(request.getCharacterEncoding());
assertEquals(0,request.getQueryString().length());
assertEquals(-1,request.getContentLength());
assertEquals(0,request.getCookies().length);
assertNull(request.getCookies());
assertNull(request.getHeader("Name"));
assertFalse(request.getHeaders("Name").hasMoreElements());
assertEquals(-1,request.getDateHeader("Name"));