I think the max supported URL length is ~2,000 characters.
One option might be to save the PDF in the File Cabinet, and then provide the link to it. Another option might be to return the file via a Suitelet (using a deployment that has an external URL associated with it).