Home
last modified time | relevance | path

Searched refs:newreq (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_urllib2.py898 newreq = h.do_request_(req)
915 newreq = h.do_request_(req)
935 newreq = h.do_request_(req)
936 te = newreq.get_header('Transfer-encoding')
938 self.assertFalse(newreq.has_header('Content-length'))
942 newreq = h.do_request_(req)
943 self.assertEqual(int(newreq.get_header('Content-length')), 30)
944 self.assertFalse(newreq.has_header("Transfer-encoding"))
957 newreq = h.do_request_(req)
958 self.assertEqual(newreq.get_header('Transfer-encoding'), 'chunked')
[all …]
/external/python/cpython2/Lib/test/
Dtest_urllib2.py813 newreq = h.do_request_(req)
830 newreq = h.do_request_(req)
871 newreq = h.do_request_(req)
872 self.assertEqual(newreq.get_host(),'www.python.org')
873 self.assertEqual(newreq.get_selector(),'/?getspam')
877 newreq = h.do_request_(req)
878 self.assertEqual(newreq.get_host(),'www.python.org')
879 self.assertEqual(newreq.get_selector(),'')
913 newreq = h.http_request(req)
914 self.assertTrue(cj.ach_req is req is newreq)
/external/libevent/
Devdns.c3293 struct request *newreq; in search_try_next() local
3304newreq = request_new(base, NULL, req->request_type, handle->search_origname, handle->search_flags,… in search_try_next()
3306 if (newreq) { in search_try_next()
3317newreq = request_new(base, NULL, req->request_type, new_name, handle->search_flags, req->user_call… in search_try_next()
3319 if (!newreq) return 1; in search_try_next()
3326 handle->current_req = newreq; in search_try_next()
3327 newreq->handle = handle; in search_try_next()
3328 request_submit(newreq); in search_try_next()
/external/mdnsresponder/mDNSShared/
Duds_daemon.c3807 request_state *newreq = NewRequest(); in request_callback() local
3808 newreq->primary = req; in request_callback()
3809 newreq->sd = req->sd; in request_callback()
3810 newreq->errsd = req->errsd; in request_callback()
3811 newreq->uid = req->uid; in request_callback()
3812 newreq->hdr = req->hdr; in request_callback()
3813 newreq->msgbuf = req->msgbuf; in request_callback()
3814 newreq->msgptr = req->msgptr; in request_callback()
3815 newreq->msgend = req->msgend; in request_callback()
3816 req = newreq; in request_callback()