Searched refs:ContentType (Results 1 – 11 of 11) sorted by relevance
/openbmc/bmcweb/test/include/ |
H A D | http_utility_test.cpp | 54 std::array<ContentType, 1> contentType{ContentType::HTML}; in TEST() 57 ContentType::HTML); in TEST() 59 std::array<ContentType, 2> htmlJson{ContentType::HTML, ContentType::JSON}; in TEST() 61 ContentType::HTML); in TEST() 63 std::array<ContentType, 2> jsonHtml{ContentType::JSON, ContentType::HTML}; in TEST() 65 ContentType::HTML); in TEST() 67 std::array<ContentType, 2> cborJson{ContentType::CBOR, ContentType::JSON}; in TEST() 70 ContentType::CBOR); in TEST() 73 ContentType::JSON); in TEST() 79 std::array<ContentType, 1> contentType{ContentType::CBOR}; in TEST() [all …]
|
/openbmc/bmcweb/include/ |
H A D | http_utility.hpp | 16 enum class ContentType enum 30 ContentType contentTypeEnum; 34 {"application/cbor", ContentType::CBOR}, 35 {"application/json", ContentType::JSON}, 36 {"application/octet-stream", ContentType::OctetStream}, 37 {"text/html", ContentType::HTML}, 38 {"text/event-stream", ContentType::EventStream}, 41 inline ContentType getPreferredContentType( in getPreferredContentType() 70 return ContentType::ANY; in getPreferredContentType() 92 return ContentType::NoMatch; in getPreferredContentType() [all …]
|
H A D | forward_unauthorized.hpp | 22 accept, http_helpers::ContentType::HTML, false /*allowWildcard*/)) in sendUnauthorized()
|
/openbmc/bmcweb/http/ |
H A D | complete_response_fields.hpp | 29 using http_helpers::ContentType; in completeResponseFields() 30 std::array<ContentType, 3> allowed{ContentType::CBOR, ContentType::JSON, in completeResponseFields() 31 ContentType::HTML}; in completeResponseFields() 32 ContentType preferred = getPreferredContentType(accepts, allowed); in completeResponseFields() 34 if (preferred == ContentType::HTML) in completeResponseFields() 38 else if (preferred == ContentType::CBOR) in completeResponseFields()
|
H A D | http_connection.hpp | 309 http_helpers::ContentType::EventStream, false); in handle()
|
/openbmc/linux/crypto/asymmetric_keys/ |
H A D | mscode.asn1 | 14 contentType ContentType, 23 ContentType ::= OBJECT IDENTIFIER ({ mscode_note_content_type })
|
H A D | pkcs7.asn1 | 2 contentType ContentType ({ pkcs7_check_content_type }), 6 ContentType ::= OBJECT IDENTIFIER ({ pkcs7_note_OID }) 24 contentType ContentType ({ pkcs7_note_OID }),
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/utils/ |
H A D | concurrencytest.py | 35 from testtools.content_type import ContentType 141 …kwargs["details"]["extraresults"] = Content(ContentType("application", "json", {'charset': 'utf8'}…
|
/openbmc/qemu/tests/unit/ |
H A D | pkix_asn1_tab.c.inc | 844 {"contentType", 1073741826, "pkcs-7-ContentType"}, 852 {"pkcs-7-ContentType", 1073741836, 0}, 872 {"eContentType", 1073741826, "pkcs-7-ContentType"}, 1046 {"contentType", 1073741826, "pkcs-7-ContentType"},
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | systems_logservices_postcodes.hpp | 476 http_helpers::ContentType::OctetStream, true)) in handleSystemsLogServicesPostCodesEntriesEntryAdditionalDataGet()
|
H A D | log_services.hpp | 2346 http_helpers::ContentType::OctetStream, true)) in handleDBusEventLogEntryDownloadGet()
|