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

Function post_method_405

crates/openshell-sandbox/src/google_cloud_metadata.rs:432–436  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

430
431 #[test]
432 fn post_method_405() {
433 let ctx = make_context(HashMap::new());
434 let (status, _, _) = route_request(&ctx, "POST", PATH_TOKEN, &flavor_headers());
435 assert_eq!(status, 405);
436 }
437
438 #[test]
439 fn project_id_served_as_plain_text() {

Callers

nothing calls this directly

Calls 3

make_contextFunction · 0.85
flavor_headersFunction · 0.85
route_requestFunction · 0.70

Tested by

no test coverage detected