Skip to content

Commit

Permalink
Update HttpSourceTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bgprudhomme authored Aug 3, 2024
1 parent 90aa53f commit 4f38589
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,11 +398,9 @@ void testGetFormatIteratorNext() throws Exception {
@Override
public boolean handle(Request request,
org.eclipse.jetty.server.Response response,
Callback callback) {
Callback callback) throws Exception {
response.getHeaders().put("Accept-Ranges", "bytes");
try {
Content.Sink.copyFromPath(TestUtil.getImage(fixture), response, callback);
}
Content.Sink.copyFromPath(TestUtil.getImage(fixture), response, callback);
return true;
}
});
Expand Down

0 comments on commit 4f38589

Please sign in to comment.