code: function getEnhancedContext( req, res ) {
  	return Object.assign( {}, req.context, {
  		isServerSide: true,
  		originalUrl: req.originalUrl,
  		path: req.url,
  		pathname: req.path,
  		params: req.params,
  		query: req.query,
  		redirect: res.redirect.bind( res ),
  		res,
  	} );
  }
docs: TODO: Maybe merge into getDefaultContext().