INNER CODE UNIT · JavaScript

writetop

expressjs/session · index.js:289

      function writetop() {
        if (!sync) {
          return ret;
        }

        if (!res._header) {
          res._implicitHeader()
        }

        if (chunk == null) {
          ret = true;
          return ret;
        }

        var contentLength = Number(res.getHeader('Content-Length'));

        if (!isNaN(contentLength) && contentLength > 0) {
          // measure chunk

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…