added default params to request
mc
reimpl r/r content
added test_encode
mc
impl test_decode