Previously I have added PDF attachment via API call. This was done using presigned S3 url of a PDF and updating table's field with {"url": url, "filename": filename} whereas url has no ".pdf" in but filename bears the form of "xxx.pdf".
These PDFs can be opened on iphone app through open with browser, where redirection would be opening a pdf. (Content-type GETing the link is application/pdf).
From yesterday, uploads done the same way would get the right pdf file but with header Content-type: binary/octet-stream. On the phone the pdf failed at displaying and tried to download a file instead.
My question is:
i) has anyone experienced specifying filename with .pdf now but not getting pdf back?
ii) has anyone got a way way to fix this issue?
This change is breaking existing business needs. Please advice at earliest convenience is possible. Many thanks!