[ee122] Status code precedence

Daniel Killebrew dank at eecs.berkeley.edu
Wed Oct 31 15:38:30 PDT 2007



Allen Lee wrote:
> I'm not sure if this question has been asked yet:
>
> If the server gets the request
>
> GET /foo.avi HTTP/1.0
>
> and foo.avi does not exist on the server, should the status code be 
> 404 or 501?
It should be the does not exist error.
>
> If foo.avi does exist on the server, but we don't have read 
> permission, should the status code be 403 or 501?
No permissions error

Daniel
>
> Thanks,
> Allen
> ------------------------------------------------------------------------
>
> _______________________________________________
> ee122 mailing list
> ee122 at mailman.ICSI.Berkeley.EDU
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122
>   


More information about the ee122 mailing list