title: Override all default resources / responses from Twisted.web
body: <p>For a super-basic http twisted front-end.
  How can I make sure no html is ever written back unless I tell it to.</p>
  
  <p>So, I have my /zoo url below.
  For any tracebacks, or 'No Such Resource' responses, I want to just drop the connection or return an empty response.</p>
  
  <p>I guess it's a super-simple one but can't figure it out :)
  I know I could do it byt not having my specific Child path, but want to do it efficient, would just want to drop it as early as possible.. Maybe not use Resource?</p>
  
  <pre><code>class HttpApi(resource.Resource):
      isLeaf = True
      def render_POST(self, request):
          return "post..."
  
  
  application = service.Application("serv")
  
  json_api = resource.Resource()
  json_api.putChild("zoo", HttpApi())
  web_site = server.Site(json_api)
  internet.TCPServer(8001, web_site).setServiceParent(application)
  </code></pre>