Home
last modified time | relevance | path

Searched refs:contentType (Results 1 – 17 of 17) sorted by relevance

/openbmc/bmcweb/test/include/
H A Dhttp_utility_test.cpp56 std::array<ContentType, 1> contentType{ContentType::HTML}; in TEST() local
58 getPreferredContentType("text/html, application/json", contentType), in TEST()
123 std::array<ContentType, 1> contentType{ContentType::CBOR}; in TEST() local
125 getPreferredContentType("text/html, application/json", contentType), in TEST()
146 std::array<Encoding, 2> contentType{Encoding::GZIP, in TEST() local
148 EXPECT_EQ(getPreferredEncoding("noexist", contentType), in TEST()
/openbmc/bmcweb/include/
H A Dwebassets.hpp68 std::string_view contentType; member
78 if (!file.contentType.empty()) in handleStaticAsset()
81 file.contentType); in handleStaticAsset()
146 const auto* contentType = in getFiletypeForExtension() local
151 if (contentType == contentTypes.end()) in getFiletypeForExtension()
158 return contentType->second; in getFiletypeForExtension()
210 file.contentType = getFiletypeForExtension(extension); in addFile()
H A Dsecurity_headers.hpp26 std::string_view contentType = res.getHeaderValue("Content-Type"); in addSecurityHeaders() local
27 if (contentType.starts_with("text/html")) in addSecurityHeaders()
H A Dlogin_routes.hpp37 std::string_view contentType = req.getHeaderValue("content-type"); in handleLogin() local
45 if (contentType.starts_with("application/json")) in handleLogin()
120 else if (contentType.starts_with("multipart/form-data")) in handleLogin()
H A Dmultipart_parser.hpp68 std::string_view contentType = req.getHeaderValue("content-type"); in parse() local
71 if (!contentType.starts_with(boundaryFormat)) in parse()
76 std::string_view ctBoundary = contentType.substr(boundaryFormat.size()); in parse()
/openbmc/bmcweb/http/
H A Dparsing.hpp24 inline bool isJsonContentType(std::string_view contentType) in isJsonContentType() argument
26 return http_helpers::getContentType(contentType) == in isJsonContentType()
/openbmc/linux/crypto/asymmetric_keys/
H A Dpkcs7.asn12 contentType ContentType ({ pkcs7_check_content_type }),
24 contentType ContentType ({ pkcs7_note_OID }),
H A Dmscode.asn114 contentType ContentType,
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules/
H A D0001-Stop-using-pyasn1.compat.octets.patch79 self.assertIn(next_ci['contentType'], rfc5652.cmsContentTypesMap)
80 self.assertEqual(rfc5652.id_data, next_ci['contentType'])
/openbmc/bmcweb/redfish-core/lib/
H A Dupdate_service.hpp1053 std::string_view contentType = req.getHeaderValue("Content-Type"); in handleUpdateServicePost() local
1055 BMCWEB_LOG_DEBUG("doPost: contentType={}", contentType); in handleUpdateServicePost()
1059 if (bmcweb::asciiIEquals(contentType, "application/octet-stream")) in handleUpdateServicePost()
1063 else if (contentType.starts_with("multipart/form-data")) in handleUpdateServicePost()
1081 BMCWEB_LOG_DEBUG("Bad content type specified:{}", contentType); in handleUpdateServicePost()
/openbmc/bmcweb/include/ibm/
H A Dmanagement_console_rest.hpp54 boost::beast::string_view contentType = req.getHeaderValue("content-type"); in handleFilePut() local
55 if (!bmcweb::asciiIEquals(contentType, "application/octet-stream")) in handleFilePut()
/openbmc/qemu/tests/unit/
H A Dpkix_asn1_tab.c.inc844 {"contentType", 1073741826, "pkcs-7-ContentType"},
847 {"contentType", 1, 0},
1046 {"contentType", 1073741826, "pkcs-7-ContentType"},
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Djquery-3.7.1.min.js2contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",h…
H A Djquery-2.0.3.min.js6contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":sn,text:"text/plain",h…
H A Djquery-3.7.1.min.map1 …lastModified","etag","url","isLocal","protocol","processData","async","contentType","accepts","jso…
H A Djquery-2.0.3.min.map1 …lete","status","active","lastModified","etag","isLocal","processData","contentType","*","json","re…
/openbmc/rest-dbus/resources/
H A Djquery.min.js5contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jb,text:"text/plain",h…