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

/haiku/src/tests/kits/net/service/
H A Dtestserver.py228 'Unimplemented authorization strategy ' + strategy)
231 authorization = self.headers.get('Authorization', None)
237 if authorization:
238 auth_type, encoded_credentials = authorization.split()
244 if authorization is None or auth_type != 'Basic' \
265 authorization = self.headers.get('Authorization', None)
268 if authorization is not None:
269 auth_type, fields = authorization.split(maxsplit=1)
282 if authorization is None or credentials is None \
/haiku/src/tests/kits/net/netservices2/
H A Dtestserver.py228 'Unimplemented authorization strategy ' + strategy)
231 authorization = self.headers.get('Authorization', None)
237 if authorization:
238 auth_type, encoded_credentials = authorization.split()
244 if authorization is None or auth_type != 'Basic' \
265 authorization = self.headers.get('Authorization', None)
268 if authorization is not None:
269 auth_type, fields = authorization.split(maxsplit=1)
282 if authorization is None or credentials is None \
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.h128 char* authorization; member in struct:__anon19
H A Dlibhttpd.c1059 /* Does this request contain basic authorization info? */
1060 if ( hc->authorization[0] == '\0' ||
1061 strncmp( hc->authorization, "Basic ", 6 ) != 0 )
1070 &(hc->authorization[6]), (unsigned char*) authinfo,
1774 hc->authorization = "";
2249 hc->authorization = cp;
3149 if ( hc->authorization[0] != '\0' )
3753 /* Check authorization for this directory. */
3805 /* Check authorization for this directory. */
3827 ERROR_FORM( err403form, "The requested URL '%.80s' is an authorization fil
[all...]
/haiku/src/kits/network/libnetservices2/
H A DHttpRequest.cpp503 // This request will add a Basic authorization header
504 BString authorization = build_basic_http_header( local
506 outputFields.AddField("Authorization"sv, std::string_view(authorization.String()));

Completed in 101 milliseconds