Issue #2399505 by slashrsm: Implement MediaTypeBase.
Merge pull request #6 from slashrsm/2399505

Implement MediaTypeBase