You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: metafacture-io/src/main/java/org/metafacture/io/HttpOpener.java
+52-10Lines changed: 52 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -29,26 +29,40 @@
29
29
importjava.io.Reader;
30
30
importjava.net.URL;
31
31
importjava.net.URLConnection;
32
+
importjava.util.Arrays;
33
+
importjava.util.HashMap;
34
+
importjava.util.Map;
35
+
importjava.util.regex.Pattern;
32
36
33
37
/**
34
38
* Opens a {@link URLConnection} and passes a reader to the receiver.
35
39
*
36
40
* @author Christoph Böhme
37
41
* @author Jan Schnasse
38
42
*/
39
-
@Description("Opens a http resource. Supports the setting of Accept and Accept-Charset as http header fields.")
43
+
@Description("Opens an HTTP resource. Supports the setting of `Accept` and `Accept-Charset` as HTTP header fields, as well as generic headers (separated by `\\n`).")
0 commit comments