Problem
A user reported that she wasn’t able to retrieve the document PDF of EP2706864A2 properly. After checking [1], we found that while EPO’s European publication server does return a valid response, it’s actually of type text/html
and returns a HTML document referencing the corresponding WO document at WIPO:
Thoughts
We don’t want [2] to yield mixed text/html
or application/pdf
responses.
Proposal
We will try to mitigate this issue appropriately, either by skipping the European publication server by only considering responses with Content-Type: application/pdf
as valid, or - maybe later - by trying to follow the reference to WIPO. We are also tracking this issue inline with Use EPO publication server for obtaining PDFs of EP publications by aghster · Pull Request #12 · ip-tools/ip-navigator · GitHub.
[1] https://data.epo.org/publication-server/pdf-document?cc=EP&pn=2706864&ki=A2
[2] https://patzilla.ip-tools.io/api/pdf/EP2706864A2