MCPcopy Create free account
hub / github.com/EsperoTech/yaade / getContentType

Function getContentType

client/src/components/responsePanel/ResponsePanel.tsx:45–46  ·  view source on GitHub ↗
(headers: Array<KVRow>)

Source from the content-addressed store, hash-verified

43};
44
45const getContentType = (headers: Array<KVRow>) =>
46 headers.find((header) => header.key.toLowerCase() === 'content-type')?.value ?? '';
47
48function ResponsePanel({ response }: ResponsePanelProps) {
49 const { colorMode } = useColorMode();

Callers 1

ResponsePanelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected