'Test that media subtype is used if type/subtype doesn\'t
match any lexer.'

def test_subtype_based_pygments_lexer_match(self, httpbin):

    env = TestEnvironment(colors=256)
    r = http('--print=B', '--pretty=all', (httpbin.url + '/post'), 'Content-Type:text/foo+json', 'a=b', env=env)
    assert (COLOR in r)
