RE: TikaServer Header Name is Case-sensitive

2021-03-15 Thread Subhajit Das
Raised ticket https://issues.apache.org/jira/browse/TIKA-3320 From: Subhajit Das<mailto:subhajitdas...@live.com> Sent: 15 March 2021 08:30 PM To: user@tika.apache.org<mailto:user@tika.apache.org> Subject: RE: TikaServer Header Name is Case-sensitive Hi Nick, Saw the source code.

RE: TikaServer Header Name is Case-sensitive

2021-03-15 Thread Subhajit Das
-insensetive checking. For get declared method we can assume only fields will be there (irrespective of case) for any name. From: Nick Burch<mailto:apa...@gagravarr.org> Sent: 15 March 2021 08:19 PM To: user@tika.apache.org<mailto:user@tika.apache.org> Subject: Re: TikaServer Header

Re: TikaServer Header Name is Case-sensitive

2021-03-15 Thread Nick Burch
On Mon, 15 Mar 2021, Subhajit Das wrote: It seems that TikaServer 1.25 header like “X-Tika-PDFOcrStrategy” is case sensitive. Yes. That's bcause those then get mapped onto underlying Java classes and methods, which are case sensitive According to :https://stackoverflow.com/questions/525897

TikaServer Header Name is Case-sensitive

2021-03-15 Thread Subhajit Das
Hi, It seems that TikaServer 1.25 header like “X-Tika-PDFOcrStrategy” is case sensitive. This is causing issue on a system where header names are automatically lowercased. According to :https://stackoverflow.com/questions/5258977/are-http-headers-case-sensitive, header names should not be c