Home
last modified time | relevance | path

Searched refs:auth_header (Results 1 – 8 of 8) sorted by relevance

/third_party/libsoup/libsoup/
Dsoup-connection-auth.c122 GString *auth_header; in soup_connection_auth_update() local
132 auth_header = g_string_new (soup_auth_get_scheme_name (auth)); in soup_connection_auth_update()
136 g_string_append_printf (auth_header, " %s=%s", in soup_connection_auth_update()
140 g_string_append_printf (auth_header, " %s", in soup_connection_auth_update()
145 g_string_free (auth_header, TRUE); in soup_connection_auth_update()
151 update_connection (cauth, msg, auth_header->str, conn); in soup_connection_auth_update()
153 g_string_free (auth_header, TRUE); in soup_connection_auth_update()
Dsoup-auth.c233 soup_auth_new (GType type, SoupMessage *msg, const char *auth_header) in soup_auth_new() argument
241 g_return_val_if_fail (auth_header != NULL, NULL); in soup_auth_new()
249 if (g_ascii_strncasecmp (auth_header, scheme, strlen (scheme)) != 0) { in soup_auth_new()
254 params = soup_header_parse_param_list (auth_header + strlen (scheme)); in soup_auth_new()
285 soup_auth_update (SoupAuth *auth, SoupMessage *msg, const char *auth_header) in soup_auth_update() argument
293 g_return_val_if_fail (auth_header != NULL, FALSE); in soup_auth_update()
296 if (g_ascii_strncasecmp (auth_header, scheme, strlen (scheme)) != 0) in soup_auth_update()
299 params = soup_header_parse_param_list (auth_header + strlen (scheme)); in soup_auth_update()
Dsoup-auth.h35 GHashTable *auth_header);
70 const char *auth_header);
74 const char *auth_header);
Dsoup-connection-auth.h37 const char *auth_header,
Dsoup-auth-ntlm.c300 const char *auth_header, gpointer state) in soup_auth_ntlm_update_connection() argument
312 if (!g_str_has_prefix (auth_header, "NTLM")) in soup_auth_ntlm_update_connection()
344 if (conn->state == SOUP_NTLM_NEW && !auth_header[4]) in soup_auth_ntlm_update_connection()
347 if (!auth_header[4] || !auth_header[5]) { in soup_auth_ntlm_update_connection()
352 if (!soup_ntlm_parse_challenge (auth_header + 5, &conn->nonce, in soup_auth_ntlm_update_connection()
371 input = g_strdup_printf ("TT %s\n", auth_header + 5); in soup_auth_ntlm_update_connection()
/third_party/python/Lib/urllib/
Drequest.py1017 if req.get_header(self.auth_header, None) == auth:
1019 req.add_unredirected_header(self.auth_header, auth)
1052 auth_header = 'Authorization' variable in HTTPBasicAuthHandler
1063 auth_header = 'Proxy-authorization' variable in ProxyBasicAuthHandler
1103 def http_error_auth_reqed(self, auth_header, host, req, headers): argument
1104 authreq = headers.get(auth_header, None)
1129 if req.headers.get(self.auth_header, None) == auth_val:
1131 req.add_unredirected_header(self.auth_header, auth_val)
1233 auth_header = 'Authorization' variable in HTTPDigestAuthHandler
1246 auth_header = 'Proxy-Authorization' variable in ProxyDigestAuthHandler
/third_party/python/Lib/test/
Dtest_urllib2.py1610 def _test_basic_auth(self, opener, auth_handler, auth_header, argument
1631 self.assertFalse(http_handler.requests[0].has_header(auth_header))
1635 self.assertEqual(http_handler.requests[1].get_header(auth_header),
1637 self.assertEqual(http_handler.requests[1].unredirected_hdrs[auth_header],
1645 self.assertFalse(http_handler.requests[0].has_header(auth_header))
/third_party/python/Misc/
DHISTORY21218 auth_header. The earlier versions would fail at runtime.