Invalid urls now produce an error specifying the type of error that occured.
For now, anything that gives us a resonse 200 and is of fileending .pdf is considered a valid pdf file.
If the file is not a valid pdf after all, the program simply throws at some point in converting.
This may invite some malicious behaviour. :(
Okay this one is a bit tricky.
Invalid urls now produce an error specifying the type of error that occured.
For now, anything that gives us a resonse 200 and is of fileending .pdf is considered a valid pdf file. If the file is not a valid pdf after all, the program simply throws at some point in converting. This may invite some malicious behaviour. :(