Home
last modified time | relevance | path

Searched refs:content_type (Results 1 – 20 of 20) sorted by relevance

/openbmc/phosphor-rest-server/module/obmc/wsgi/apps/
H A Drest_dbus.py213 def __init__(self, app, bus, verbs, rules, content_type=''): argument
219 self._content_type = content_type
357 content_type = 'application/json' variable in MethodHandler
361 app, bus, self.verbs, self.rules, self.content_type)
464 content_type = 'application/json' variable in PropertyHandler
468 app, bus, self.verbs, self.rules, self.content_type)
867 content_type = 'application/octet-stream' variable in ImagePostHandler
871 app, bus, self.verbs, self.rules, self.content_type)
943 content_type = 'application/octet-stream' variable in CertificatePutHandler
947 app, bus, self.verbs, self.rules, self.content_type)
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/bldcollector/
H A Dviews.py25 …entlog.json %s\n" % request.build_absolute_uri(reverse('eventfile')), content_type="text/plain;utf…
47 …d\n== STDOUT\n%s\n\n== STDERR\n%s" % (importer.returncode, out, err), content_type="text/plain;utf…
/openbmc/bmcweb/http/
H A Dcomplete_response_fields.hpp84 res.addHeader(boost::beast::http::field::content_type, in completeResponseFields()
95 res.addHeader(boost::beast::http::field::content_type, in completeResponseFields()
H A Dparsing.hpp33 req.getHeaderValue(boost::beast::http::field::content_type))) in parseRequestAsJson()
H A Dserver_sent_event_impl.hpp66 res.set(boost::beast::http::field::content_type, "text/event-stream"); in start()
/openbmc/bmcweb/redfish-core/include/utils/
H A Dredfish_aggregator_utils.hpp38 if (headerName == boost::beast::http::field::content_type || in createNewRequest()
H A Dlog_services_utils.hpp122 asyncResp->res.addHeader(boost::beast::http::field::content_type, in downloadEntryCallback()
/openbmc/openpower-debug-collector/dump/tools/common/include/
H A Dgendumpheader240 function content_type() {
555 content_type # 4 bytes
/openbmc/bmcweb/redfish-core/lib/
H A Dmetadata.hpp118 asyncResp->res.addHeader(boost::beast::http::field::content_type, in handleMetadataGet()
H A Dsystems_logservices_postcodes.hpp582 asyncResp->res.addHeader(boost::beast::http::field::content_type, in handleSystemsLogServicesPostCodesEntriesEntryAdditionalDataGet()
/openbmc/rest-dbus/
H A Drest-dbus56 self.content_type = self.mime_map.get(ext[1:],
66 self.content_type + '; charset=utf-8')
/openbmc/bmcweb/test/redfish-core/include/utils/
H A Djson_utils_test.cpp330 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST()
357 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST()
387 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST()
422 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST()
437 req.addHeader(boost::beast::http::field::content_type, "application/json"); in TEST()
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/
H A Dwidgets.py104 return HttpResponse(data, content_type="application/json")
426 content_type="application/json")
H A Dviews.py690 … return HttpResponse(_get_dir_entries(build_id, target_id, top), content_type = "application/json")
1638 content_type="application/json")
1744 return HttpResponse(json.dumps( return_data ), content_type = "application/json")
1747 …esponse(json.dumps({"error":str(e) + "\n" + traceback.format_exc()}), content_type = "application/…
1756 response = HttpResponse(file_data, content_type='text/plain')
1945 content_type = MimeTypeFinder.get_mimetype(file_name)
1947 response = HttpResponse(fsock, content_type = content_type)
/openbmc/bmcweb/include/
H A Dwebassets.hpp83 asyncResp->res.addHeader(boost::beast::http::field::content_type, in handleStaticAsset()
/openbmc/bmcweb/redfish-core/src/
H A Dsubscription.cpp180 httpHeadersCopy.set(boost::beast::http::field::content_type, in sendEventToSubscriber()
/openbmc/bmcweb/src/
H A Djson_html_serializer.cpp587 res.addHeader(boost::beast::http::field::content_type, in prettyPrintJson()
/openbmc/openbmc/poky/meta/lib/oeqa/core/utils/
H A Dconcurrencytest.py35 from testtools.content_type import ContentType
/openbmc/bmcweb/redfish-core/include/
H A Dredfish_aggregator.hpp304 asyncResp.addHeader(boost::beast::http::field::content_type, in addAggregatedHeaders()
/openbmc/bmcweb/features/openbmc_rest/
H A Dopenbmc_dbus_rest.hpp2602 boost::beast::http::field::content_type, in requestRoutes()