Lines Matching refs:request
39 /* POST method has Content-Type header line equal to "application/ocsp-request" */
41 static CFStringRef kAppOcspRequest = CFSTR("application/ocsp-request");
92 CFHTTPMessageRef request = NULL;
126 /* Create a new HTTP request. */
127 request = CFHTTPMessageCreateRequest(kCFAllocatorDefault, CFSTR("POST"), cfUrl,
129 if (request == NULL) {
136 CFHTTPMessageSetBody(request, postData);
137 CFHTTPMessageSetHeaderFieldValue(request, kContentType, kAppOcspRequest);
139 // Create the stream for the request.
140 cfStream = CFReadStreamCreateForHTTPRequest(kCFAllocatorDefault, request);
182 CFRELEASE(request);