Is it safe to serve an image on the web without an extension?

Viewed 3257

I'm treating all *.jpg files as static, but I need to serve a few dynamically. Can I simply omit the extension so I don't have to get fancy with my url rules? Is it enough to just set the file type in the header?

2 Answers
Related