parse req.type by media-typer
Merge pull request #312 from dead-horse/typer

parse req.type by media-typer