get contentLength() {
    // undefined means not cached.
    // null means invalid or not provided.
    if (this._contentLength === undefined) {
      const cl = this.headers.get("content-length");
      if (cl) {
        this._contentLength = parseInt(cl);
        // Convert NaN to null (as NaN harder to test)
        if (Number.isNaN(this._contentLength)) {
          this._contentLength = null;
        }
      } else {
        this._contentLength = null;
      }
    }
    return this._contentLength;
  }
/**
   * Value of Content-Length header.
   * If null, then content length is invalid or not given (e.g. chunked encoding).
   */
Value of Content-Length header.
If null, then content length is invalid or not given .
Value of Content - Length header . If null then content length is invalid or not given .
get contentLength() {
    if (this._contentLength === undefined) {
      const cl = this.headers.get("content-length");
      if (cl) {
        this._contentLength = parseInt(cl);
        if (Number.isNaN(this._contentLength)) {
          this._contentLength = null;
        }
      } else {
        this._contentLength = null;
      }
    }
    return this._contentLength;
  }
get contentLength ( ) { if ( this . _contentLength === undefined ) { const cl = this . headers . get ( "content-length" ) ; if ( cl ) { this . _contentLength = parseInt ( cl ) ; if ( Number . isNaN ( this . _contentLength ) ) { this . _contentLength = null ; } } else { this . _contentLength = null ; } } return this . _contentLength ; }
Value of Content-Length header.
Value of Content - Length header .
// undefined means not cached. // null means invalid or not provided. // Convert NaN to null (as NaN harder to test)