Pro@programming.dev to Programming@programming.devEnglish · 2 months agoDid you know that Google provides a free API to retrieve the favicon for any website?programming.devimagemessage-square11fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageDid you know that Google provides a free API to retrieve the favicon for any website?programming.devPro@programming.dev to Programming@programming.devEnglish · 2 months agomessage-square11fedilink
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up0·2 months agoIt doesn’t have to be an *.ico file. So you might need to try different file extensions.
minus-squarewho@feddit.orglinkfedilinkEnglisharrow-up1·edit-22 months ago So you might need to try different file extensions. No, you don’t. The HTTP response header will tell you what type it is. Anything using file name suffixes to determine content type on the web (unless it’s just a fallback guess) is broken.
It doesn’t have to be an
*.ico
file. So you might need to try different file extensions.No, you don’t. The HTTP response header will tell you what type it is. Anything using file name suffixes to determine content type on the web (unless it’s just a fallback guess) is broken.