Is it OK to return a 301 / 302 / 303 code when returning an image resource? I have done this in the past and it seems to work. Is it good practice and is it compatible with
It's OK if the code actually reflects reality - for example, if an image has indeed moved permanenetly, you should use a 301.