code: public function getEncodedRequest()
      {
          if ($this->raw) {
              $encoded = $this->raw;
          } else {
              $encoded = $this->request->asUrlRequest();
          }
          if ($encoded) {
              return '?' . preg_replace('/^\?/', '', $encoded);
          }
  
          return '';
      }
docs: Accessor for current request parameters in URL string form.
  Will return teh original request
  if at all possible even if it doesn't make much sense.
  
  @return string   Form is string "?a=1&b=2", etc.