Duplicate Http Header when no result found

This space is made available to users of Open Patent Services (OPS) web-service and now also to users of EPO’s bulk data subscription products such as 14. EPO worldwide bibliographic database (DOCDB), 14.11 EPO worldwide legal status database (INPADOC), 14.12 EP full text data, 14.1 EP bibliographic data (EBD)and more.

Users can ask each other questions, exchange experiences and solutions, post ideas. The moderator will use this space to announce changes or other relevant information.
Post Reply

JeremyGosling
Posts: 2
Joined: Tue Aug 29, 2017 3:10 pm

Duplicate Http Header when no result found

Post by JeremyGosling » Tue Aug 29, 2017 4:28 pm

Hi OPS Team,

A REST API GET call for a Patent Family which returns no results, for example http://ops.epo.org/rest-services/family ... 0000999.A1 contains duplicate X-Throttling-Control headers as shown below :-

Code: Select all

...
Server	Apache
X-EPO-Forwarded	[198.176.82.33]
X-Throttling-Control	idle (images=green:200, inpadoc=green:60, other=green:1000, retrieval=green:200, search=green:30)
X-Throttling-Control	idle (images=green:200, inpadoc=green:60, other=green:1000, retrieval=green:200, search=green:30)
Access-Control-Allow-Headers	Authorization
Date	Tue, 29 Aug 2017 14:13:11 GMT
...
While a minor issue it would be nice to fix. Apache Camel (and possibly other frameworks) helpfully converted these into a single header of type ArrayList and then then failed with a MethodNotFound exception since I had assumed http headers would always be strings.

Kind regards,

Jeremy Gosling


EPO / OPS Support
Posts: 1021
Joined: Thu Feb 22, 2007 5:32 pm

Re: Duplicate Http Header when no result found

Post by EPO / OPS Support » Wed Aug 30, 2017 11:10 am

Thanks a lot for your recommendation. We will report this to our IT and ask them to fix that for the future.

Regards,
OPS support


EPO / OPS Support
Posts: 1021
Joined: Thu Feb 22, 2007 5:32 pm

Re: Duplicate Http Header when no result found

Post by EPO / OPS Support » Wed Aug 30, 2017 1:07 pm

Hi,

I just heard back from out technical team and they say they cannot confirm your findings so they assume that it is a client software problem. Can you please check that on your end?

Regards,
OPS support


JeremyGosling
Posts: 2
Joined: Tue Aug 29, 2017 3:10 pm

Re: Duplicate Http Header when no result found

Post by JeremyGosling » Tue Sep 12, 2017 10:36 am

Hi,

The issue is still evident using SOAP UI or a simple browser request. Please see these screen shots from the Network tab of Firefox's Tools screen, looking at the raw header values, for when an entity is found and not found.

Cheers,

Jeremy


Post Reply