News for hackers. Stuff that matters.
Re:Show HN: Free Company Logo API by mukgupta on Tuesday June 30, 2015 @04:17PM (#9808149)
I noticed that you are returning the company name in the title. https://logo.clearbit.com/fb.com .Is that intentional? Asking this because you provide a Company API too which is paid.
Re:Show HN: Free Company Logo API by captn3m0 on Tuesday June 30, 2015 @05:09PM (#9808432)
This API call is just returning a PNG image with almost no EXIF data. In that case, the title is set by browsers to the filename, which is equal to the domain name itself. Are you seeing something else in the title? (I see fb.com)
Re:Show HN: Free Company Logo API by mukgupta on Tuesday June 30, 2015 @05:22PM (#9808525)
Saw this in response headers.

Content-Disposition:"inline; filename="Facebook.png""

I am using firefox which apparently uses this header to set the title. Chrome OTOH won't do it

Re:Show HN: Free Company Logo API by captn3m0 on Tuesday June 30, 2015 @07:08PM (#9808978)
Interesting. I did look at headers, but missed the Content-Disposition for some reason.
Re:Show HN: Free Company Logo API by mukgupta on Tuesday June 30, 2015 @05:17PM (#9808487)
Strange. I see Facebook in the title