Skip to content

Commit d65b5e1

Browse files
committed
f - Add TODO for handling HTTP 3xx responses
1 parent 13465f8 commit d65b5e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning-block-sync/src/http.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ impl HttpClient {
267267
}
268268

269269
if !status.is_ok() {
270+
// TODO: Handle 3xx redirection responses.
270271
return Err(std::io::Error::new(std::io::ErrorKind::NotFound, "not found"));
271272
}
272273

0 commit comments

Comments
 (0)