MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / is_gateway_auth_cookie

Function is_gateway_auth_cookie

crates/openshell-server/src/service_routing.rs:557–559  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

555}
556
557fn is_gateway_auth_cookie(name: &str) -> bool {
558 name.eq_ignore_ascii_case("CF_Authorization") || name.eq_ignore_ascii_case("cf-authorization")
559}
560
561pub fn emit_service_endpoint_config_event(endpoint: &ServiceEndpoint, url: &str, created: bool) {
562 let event = build_service_endpoint_config_event(endpoint, url, created);

Callers 1

sanitize_cookie_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected