docs: Correct bean-example path for FetchHTTP2

This commit is contained in:
Alex Osborne
2025-05-13 14:16:36 +09:00
parent fee534c3db
commit e1ac68f533
+1 -1
View File
@@ -577,7 +577,7 @@ HTTP/2
To use HTTP/2 the `FetchHTTP` bean should replaced with `FetchHTTP2`:
.. bean-example:: ../modules/src/main/java/org/archive/modules/fetcher/FetchFTP.java
.. bean-example:: ../modules/src/main/java/org/archive/modules/fetcher/FetchHTTP2.java
`FetchHTTP2` will use HTTP/1.1 for non-https URLs and for servers that do not support HTTP/2. Requests that used HTTP/2
will be annotated with `h2` in the crawl log and `WARC-Protocol` header.