501 Errors are handled correctly.
404 errors are now handled.