Fix typos found by codespell

This commit is contained in:
Dimitri Papadopoulos
2023-05-28 11:28:07 +02:00
committed by Torsten Grote
parent 8f5dfd67ed
commit b6bb64457c
11 changed files with 21 additions and 21 deletions

View File

@@ -423,7 +423,7 @@ public class LocalHTTPDTest {
}
}
}
Assert.assertEquals("The response status to a reqeuest with 'if-non-match=*' header should be NOT_MODIFIED(304), if the file exists",
Assert.assertEquals("The response status to a request with 'if-non-match=*' header should be NOT_MODIFIED(304), if the file exists",
304, status);
}
@@ -435,7 +435,7 @@ public class LocalHTTPDTest {
connection = (HttpURLConnection) url.openConnection();
connection.addRequestProperty("range", "bytes=10-20");
connection.addRequestProperty("if-none-match", "*");
Assert.assertEquals("The response status to a reqeuest with 'if-non-match=*' header and 'range' header should be NOT_MODIFIED(304),"
Assert.assertEquals("The response status to a request with 'if-non-match=*' header and 'range' header should be NOT_MODIFIED(304),"
+ " if the file exists, because 'if-non-match' header should be given priority", 304, connection.getResponseCode());
} finally {
if (connection != null) {