MCPcopy Create free account
hub / github.com/3rdparty/libprocess / acceptsMediaType

Method acceptsMediaType

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 2

foreachFunction · 0.80
TEST_PFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 2

foreachFunction · 0.64
TEST_PFunction · 0.64