[jira] [Created] (NUTCH-3002) Protocol-okhttp HttpResponse: HTTP header metadata lookup should be case-insensitive

2023-09-18 Thread Sebastian Nagel (Jira)
Sebastian Nagel created NUTCH-3002:
--

 Summary: Protocol-okhttp HttpResponse: HTTP header metadata lookup 
should be case-insensitive
 Key: NUTCH-3002
 URL: https://issues.apache.org/jira/browse/NUTCH-3002
 Project: Nutch
  Issue Type: Bug
  Components: metadata, plugin, protocol
Affects Versions: 1.19
Reporter: Sebastian Nagel
 Fix For: 1.20


Lookup of HTTP headers in the class HttpResponse should be case-insensitive - 
for example, any "Location" header should be returned independent from the 
casing sent by the sender.
While protocol-http uses the class SpellCheckedMetadata which provides 
case-insensitive lookups (as part of the spell-checking functionality), 
protocol-okhttp relies on the class Metadata which stores the metadata values 
case-sensitive.

It's a good question, whether we still need to spell-check HTTP headers. 
However, case-insensitive look-ups are definitely required. Especially, since 
HTTP header names are case-insensitive in HTTP/2.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [nutch] tballison commented on pull request #776: NUTCH-2959 -- upgrade Tika to 2.9.0

2023-09-18 Thread via GitHub


tballison commented on PR #776:
URL: https://github.com/apache/nutch/pull/776#issuecomment-1724217959

   I bumped some of the more common dependencies to match Tika 2.9.0.  Let me 
know what you think.


-- 
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: dev-unsubscr...@nutch.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Commented] (NUTCH-2978) Move to slf4j2 and remove log4j1 and reload4j

2023-09-18 Thread Markus Jelsma (Jira)


[ 
https://issues.apache.org/jira/browse/NUTCH-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17766306#comment-17766306
 ] 

Markus Jelsma commented on NUTCH-2978:
--

Thanks for picking it up. I am very happy this one is resolved now. Thanks 
Sebastian for testing!

> Move to slf4j2 and remove log4j1 and reload4j
> -
>
> Key: NUTCH-2978
> URL: https://issues.apache.org/jira/browse/NUTCH-2978
> Project: Nutch
>  Issue Type: Task
>Reporter: Markus Jelsma
>Priority: Major
> Fix For: 1.20
>
> Attachments: NUTCH-2978-1.patch, NUTCH-2978-2.patch, 
> NUTCH-2978-3.patch, NUTCH-2978-any23.patch, NUTCH-2978.patch
>
>
> I got in trouble upgrading some dependencies and got a lot of LinkageErrors 
> today, or with a Tika upgrade, disappearing logs. This patch fixes that by 
> moving to slf4j2, using the corrent log4j2-slfj4-impl2 and getting rid of old 
> log4j -> reload4j.
>  
> This patch fixes it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)