Home
last modified time | relevance | path

Searched refs:content_types (Results 1 - 2 of 2) sorted by relevance

/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A Dmetadata.py578 content_types = {"text/plain", "text/x-rst", "text/markdown"}
589 if content_type not in content_types or content_type not in value.lower():
591 f"{{field}} must be one of {list(content_types)}, not {value!r}"
/third_party/libcoap/examples/
H A Dcoap-client.c642 static content_type_t content_types[] = { in cmdline_content_type() local
670 content_types[i].media_type && in cmdline_content_type()
671 strncmp(arg, content_types[i].media_type, strlen(arg)) != 0 ; in cmdline_content_type()
675 if (content_types[i].media_type) { in cmdline_content_type()
676 value = content_types[i].code; in cmdline_content_type()

Completed in 5 milliseconds