def _prequest(**headers):
 request = http.Request(DummyChannel(), None)
 for (k, v) in headers.iteritems():
  request.requestHeaders.setRawHeaders(k, v)
 return request

def _prequest ( ** headers ) : request = http . Request ( DummyChannel ( ) , None ) for ( k , v ) in headers . iteritems ( ) : request . requestHeaders . setRawHeaders ( k , v ) return request
make a request with the given request headers for the persistence tests .