Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
True, if this is a Zope standard request.

A Zope standard request is a request for which Zope has parsed the
arguments and provided them in ``form``.

        def is_standard_request(request):
  """True, if this is a Zope standard request.

  A Zope standard request is a request for which Zope has parsed the
  arguments and provided them in ``form``.
  """
  if not request.get('CONTENT_TYPE'): return True# "GET" request
  ct, _ = parse_header(request['CONTENT_TYPE'])
  return ct in ('application/x-www-form-urlencoded', 'multipart/form-data')
        


src/d/m/dm.zope.rpc-1.0.1/dm/zope/rpc/handler.py   dm.zope.rpc(Download)
from interfaces import IProtocolHandler, IMarshaller
from response import Response
from util import is_standard_request
 
 
                          self.Response(request.response, marshaller)
    if not marshaller.process_get_requests:
      if is_standard_request(request): return # already parsed
    # the marshaller should parse the request
    parsed = marshaller.parse_request(request)