MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / header

Function header

cli/src/serve.rs:71–73  ·  view source on GitHub ↗
(key: &str, value: &str)

Source from the content-addressed store, hash-verified

69}
70
71fn header(key: &str, value: &str) -> Header {
72 Header::from_bytes(key.as_bytes(), value.as_bytes()).expect("static header is valid")
73}
74
75const LIVERELOAD: &str = r#"<script>
76let __v;

Callers 1

serve_fileFunction · 0.85

Calls 2

from_bytesFunction · 0.85
expectMethod · 0.45

Tested by

no test coverage detected