diff --git a/core/java/src/net/i2p/util/EepHead.java b/core/java/src/net/i2p/util/EepHead.java index c3a17bbea594b43607380a6cb7cb40a56ec8cd22..5c0d9c8fc2e6337428da9bfdc4a312b4240f6e29 100644 --- a/core/java/src/net/i2p/util/EepHead.java +++ b/core/java/src/net/i2p/util/EepHead.java @@ -10,7 +10,7 @@ import net.i2p.I2PAppContext; /** * This is a quick hack to get a working EepHead, primarily for the following usage: - * + * <pre> * EepHead foo = new EepHead(...); * if (foo.fetch()) { * String lastmod = foo.getLastModified(); @@ -19,12 +19,14 @@ import net.i2p.I2PAppContext; * ... * } * } - * + * </pre> * Other use cases (command line, listeners, etc...) lightly- or un-tested. + * Note that this follows redirects! This may not be what you want or expect. * * Writing from scratch rather than extending EepGet would maybe have been less bloated memory-wise. * This way gets us redirect handling, among other benefits. * + * @since 0.7.7 * @author zzz */ public class EepHead extends EepGet {