Did I find the right examples for you? yes no

All Samples(62)  |  Call(29)  |  Derive(0)  |  Import(33)

src/z/a/zanshin-0.6/zanshin/webdav_server.py   zanshin(Download)
    def render_GET(self, request):
        if not self.exists:
            page = error.NoResource(
                message="The resource %s was not found" % request.URLPath())
 
    def render_DELETE(self, request):
        if not self.exists:
            page = error.NoResource(
                message="The resource %s was not found" % request.URLPath())
            return page.render(request)
        if not self.exists:
            page = error.NoResource(
                message="The resource %s was not found" % request.URLPath())
 
            return page.render(request)
        if not self.exists:
            page = error.NoResource(
                message="The resource %s was not found" % request.URLPath())
 
            return page.render(request)
    def _doMoveOrCopy(self, request, preserveOriginal):
        if not self.exists:
            page = error.NoResource(
                message="The resource %s was not found" % request.URLPath())
 

src/s/q/squeal-HEAD/src/nevow/static.py   squeal(Download)
    from twisted.web.resource import NoResource, ForbiddenResource
except ImportError:
    from twisted.web.error import NoResource, ForbiddenResource
from twisted.web.util import redirectTo
 
 
 
dangerousPathError = NoResource("Invalid request URL.")
 
def isDangerous(path):

src/d/i/divmod.org-HEAD/Nevow/nevow/static.py   divmod.org(Download)
    from twisted.web.resource import NoResource, ForbiddenResource
except ImportError:
    from twisted.web.error import NoResource, ForbiddenResource
from twisted.web.util import redirectTo
 
 
 
dangerousPathError = NoResource("Invalid request URL.")
 
def isDangerous(path):

src/n/e/Nevow-0.10.0/nevow/static.py   Nevow(Download)
    from twisted.web.resource import NoResource, ForbiddenResource
except ImportError:
    from twisted.web.error import NoResource, ForbiddenResource
from twisted.web.util import redirectTo
 
 
 
dangerousPathError = NoResource("Invalid request URL.")
 
def isDangerous(path):

src/p/y/pydra-HEAD/pydra/cluster/controller/web/interface.py   pydra(Download)
from twisted.internet.defer import Deferred
from twisted.web import server, resource, http, http_headers
from twisted.web.error import ForbiddenResource, NoResource, Error
 
from pydra.cluster.auth.rsa_auth import load_crypto
            return self.module._registered_interfaces[path]
        except KeyError:
            return NoResource('method does not exist')
 
    def render(self, request):

src/o/h/oh-mainline-HEAD/vendor/packages/scrapy/scrapy/webservice.py   oh-mainline(Download)
            return JsonRpcResource(self.crawler, newtarget)
        except AttributeError:
            return error.NoResource("No such child resource.")
 
    def get_target(self):

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/twisted/web/woven/view.py   hortonworks-sandbox(Download)
    def getChild(self, path, request):
        return error.NoResource("No such child resource.")
 
    def getChildWithDefault(self, path, request):
        return self.getChild(path, request)

src/u/n/UnitScan-HEAD/scrapy/webservice.py   UnitScan(Download)
            return JsonRpcResource(self.crawler, newtarget)
        except AttributeError:
            return error.NoResource("No such child resource.")
 
    def get_target(self):

src/z/o/zope.app.twisted-3.5.0/src/twisted/web/static.py   zope.app.twisted(Download)
 
 
dangerousPathError = error.NoResource("Invalid request URL.")
 
def isDangerous(path):
        self.ignoredExts.append(ext)
 
    childNotFound = error.NoResource("File not found.")
 
    def directoryListing(self):

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/twisted/web/resource.py   hortonworks-sandbox(Download)
        # class must be defined by the time error is imported.
        from twisted.web import error
        return error.NoResource("No such child resource.")
 
    def getChildWithDefault(self, path, request):

  1 | 2 | 3 | 4 | 5  Next