mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-14 10:55:47 -04:00
Fix typos found by codespell
This commit is contained in:
committed by
Torsten Grote
parent
8f5dfd67ed
commit
b6bb64457c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user