Skip to content

Commit 21e7872

Browse files
committed
Adapt to latest user agent changes in css4j
1 parent fe294b6 commit 21e7872

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/io/sf/carte/doc/agent/net/DefaultUserAgent.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,9 @@ public DOMDocument readURL(URL url) throws IOException, io.sf.carte.doc.Document
183183
htmlDoc.setReferrerPolicyHeader(referrerPolicy);
184184
}
185185

186-
// Read cookies and close connection, if appropriate
186+
// Close connection if appropriate
187187
if (con instanceof HttpURLConnection) {
188188
HttpURLConnection hcon = (HttpURLConnection) con;
189-
readCookies(hcon, time);
190189
hcon.disconnect();
191190
}
192191

0 commit comments

Comments
 (0)