I'm trying to download some files with PHP & CURL, but I don't see an easy way to use the default suggested filename (which is in the HTTP response header asContent-Disposition: attachment; filename=foo.png). Is there an easier way then get the full header, parse the file name and rename?