Changeset 16a0f4539b8154b6a3876252260004f2614c07da

Show
Ignore:
Timestamp:
02/22/08 17:03:38 (9 months ago)
Author:
KRKeegan <-NOSPAM-kevin@krkeegan.com>
git-committer:
KRKeegan <-NOSPAM-kevin@krkeegan.com> 1203721418 -0800
git-parent:

[496f6c35599b4e4e36de1bc6d75ad66f0e3d3cb7]

git-author:
KRKeegan <-NOSPAM-kevin@krkeegan.com> 1203721418 -0800
Message:

Provide Unsupported response if container does not exist

We really should be providing the same error if a container does not exist as we do if the command does not exist

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • httpserver.py

    r496f6c3 r16a0f45  
    8484                            method = getattr(plugin, command) 
    8585                            method(self, query) 
     86                            return 
    8687                        else: 
    8788                            self.unsupported(query) 
     89                            return 
    8890                        break 
     91     
     92            #if we made it here it means we couldn't match the request to anything. 
     93            self.unsupported(query) 
     94            return 
    8995        else: 
    9096            self.unsupported(query)