status: 200
headers:
  inline:
    content-type: text/plain
body: rewrittenUrl

rewrittenUrl:
  baseUrl: documentBase
  pathname: request.url.query.id

documentBase:
  baseUrl: rootUrl
  pathname:
    inline: document/

rootUrl:
  baseUrl: request.url.query.base
  username:
    inline: user
  password:
    inline: pass
  protocol:
    inline: 'http:'
  port:
    inline: 3000
