Are these REST HTTP response codes right, and what about the Content-Type?
- by talentedmrjones
I'm writing a controller helper that sets the proper response headers for my REST controller action. It's pasted below and should be simplified enough for those who aren't familiar with Zend Framework to understand what I'm doing.
My question is: Are these codes correct for their respective responses, and in the case of "access denied" do I use a…