On 2006-06-06, Ricardo SIGNES <[EMAIL PROTECTED]> wrote:
>
> If /app/foos does not map to a resource, and the client should not be
> requesting it, 4xx is the correct response class. 404 seems like a very
> reasonable code, given that no resource (read: runmode) was found to map th=
> at
> request.
I think there are some grey cases, though. If the application module
doesn't even compile, you'll get a 404 right now. That should probably
be a 500.
However, if the a URL is requested that makes it to the dispatcher but
can't be dispatched under normal circumstances, I think 404 is correct.
At anyrate, the wording in CGI::Application::Dispatch should updated to
say just "Not Found" raher than "File Not Found" to be more correct.
Mark
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]