dpol1 commented on code in PR #2006:
URL: https://github.com/apache/stormcrawler/pull/2006#discussion_r4000459025


##########
core/src/main/java/org/apache/stormcrawler/protocol/okhttp/HttpProtocol.java:
##########
@@ -598,13 +599,15 @@ public ProtocolResponse getProtocolOutput(String url, 
final Metadata metadata)
         if (metadata != null) {
             addHeadersToRequest(rb, metadata, sendCredentials);
 
-            final String lastModified = 
metadata.getFirstValue(HttpHeaders.LAST_MODIFIED);
+            final String lastModified =
+                    HttpHeaderResolver.getFirstValue(metadata, 
HttpHeaders.LAST_MODIFIED);

Review Comment:
   why you changed that line? Why the resolver here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to