Searched refs:headers (Results 1 - 5 of 5) sorted by relevance

/sssd/src/tests/intg/
H A Dsecrets.py64 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 Dsecsrv_cmd.c222 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 Dproxy.c227 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 Dsecsrv_private.h83 struct sec_kvp *headers; member in struct:sec_req_ctx
122 struct sec_kvp *headers, int num_headers,
H A Dproviders.c279 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