MCPcopy Create free account
hub / github.com/apache/mesos / acceptsMediaType

Method acceptsMediaType

3rdparty/libprocess/src/http.cpp:375–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373
374
375bool Request::acceptsMediaType(const string& mediaType) const
376{
377 return _acceptsMediaType(headers.get("Accept"), mediaType);
378}
379
380
381bool Request::acceptsMediaType(

Callers 8

foreachFunction · 0.80
TEST_PFunction · 0.80
apiMethod · 0.80
apiMethod · 0.80
executorMethod · 0.80
handlerMethod · 0.80
apiMethod · 0.80
schedulerMethod · 0.80

Calls 1

getMethod · 0.45

Tested by 2

foreachFunction · 0.64
TEST_PFunction · 0.64