[ee122] Status code precedence

Daniel Killebrew dank at eecs.berkeley.edu
Wed Oct 31 15:59:01 PDT 2007



Daniel Killebrew wrote:
> 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
>   
To clarify: I mean the error should be the 'no permissions error', 
whichever error that is.

Daniel


More information about the ee122 mailing list