now the file is saved but not as a pdf only as request-port.php.
if I rename * .php to * .pdf everything is there.
The original file name is simply not adopted (Widerruf.pdf, AGB.pdf)
It is nice that you help me but (action = download & coID = 3889895) was only an example and is not fixed and can always change.
the (ID = 3889895) can sometimes become ID = 3889945 or completely different.
<a href="request_port.php?module=ShopContent&action=download&coID=3889895" title="Als PDF downloaden"><span class="fa fa-download"></span><span class="hidden-xs"> Als PDF downloaden</span></a>
Why does WebView not recognize that a PDF is first generated and then starts with the correct download