Issue #2399511 by slashrsm: Implement MediaTypeBase.
Merge pull request #7 from slashrsm/2399511

Implement MediaTypeBase