This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm sorry, I don't really agree this is so obvious.
The resons I can give you are basically two:
For same very strange business rules, I could decide to force the error code of my response to be 404 even if a resource has been found
HTTP specs are out since a certain bunch of time...ok.. But what if in a future version the 404 code changes its meaning? I think there is a reason if it's saved somewhere as a public static final int... And that not only to attach it a label to clarify its meaning...
By the way.. I tried a Marcus mock 1 hour ago and did same mistake as V Gala