code: function (encodeQuery) {
          var path = this.getPath();
  
          // check count first so that, we can ensure that ba `?` is always appended, even if a blank query string exists
          if (this.query.count()) {
              path += (QUERY_SEPARATOR + this.getQueryString(encodeQuery));
          }
  
          return path;
      }
docs: Returns the complete path, including the query string.
  
  @param {?Boolean} [encodeQuery=false] - when set to `true` the query string part will be URL encoded
  
  @returns {*|string}
  @example /something/postman?hi=notbye
  
  @deprecated since v3.4.6, drop support for `encodeQuery`