code: function() {
          if (this.path === null) {
              return null;
          } else {
              var i = this.path.lastIndexOf('/');
              return (i < 0 || this.path === '/') ? null
                                                  : new URI(this.scheme,
                                                            this.host,
                                                            this.port,
                                                            this.path.substring(0, i),
                                                            this.qs);
          }
      }
docs: Get a parent URI.
  @method getParent
  @return {zebkit.URI} a parent URI.