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

Implement MediaTypeBase