Searched refs:headers (Results 1 - 5 of 5) sorted by relevance
/sssd/src/tests/intg/ |
H A D | secrets.py | 64 self.headers = dict({'Content-Type': content_type}) 78 headers = kwargs.get('headers', None) 79 if headers is None: 80 headers = dict() 81 headers.update(self.headers) 82 return headers 87 kwargs['headers'] = self._add_headers(**kwargs)
|
/sssd/src/responder/secrets/ |
H A D | secsrv_cmd.c | 222 if (!req->headers) { 223 req->headers = talloc_zero_array(req, struct sec_kvp, 10); 225 (req->headers[n - 1].value)) { 226 req->headers = talloc_realloc(req, req->headers, 228 if (req->headers) { 229 memset(&req->headers[n], 0, sizeof(struct sec_kvp) * 10); 232 if (!req->headers) { 234 "Failed to store headers, aborting client!\n"); 238 if (!n || req->headers[ [all...] |
H A D | proxy.c | 227 if (strcasecmp(secreq->headers[i].name, 235 secreq->headers[i].name, secreq->headers[i].value); 238 secreq->headers[i].name, 239 secreq->headers[i].value); 242 "Couldn't append header %s\n", secreq->headers[i].name); 288 DEBUG(SSSDBG_CRIT_FAILURE, "Couldn't map headers\n"); 330 struct sec_kvp *headers; member in struct:proxy_http_reply 712 if (!reply->headers) { 713 reply->headers [all...] |
H A D | secsrv_private.h | 83 struct sec_kvp *headers; member in struct:sec_req_ctx 122 struct sec_kvp *headers, int num_headers,
|
H A D | providers.c | 279 struct sec_kvp *headers, int num_headers, 296 if (strcasecmp(headers[i].name, "Content-Length") == 0) { 298 } else if (strcasecmp(headers[i].name, "Content-Type") == 0) { 302 headers[i].name, headers[i].value); 548 if (strcasecmp(name, req->headers[i].name) == 0) { 550 return (strcasecmp(value, req->headers[i].value) == 0); 277 sec_http_reply_with_headers(TALLOC_CTX *mem_ctx, struct sec_data *reply, int status_code, const char *reason, struct sec_kvp *headers, int num_headers, struct sec_data *body) argument
|
Completed in 1415 milliseconds