UNPKG

next

Version:

The React Framework

18 lines (17 loc) 496 B
/** * Normalizes the raw RSC header value. Only the literal string "1" is treated * as a valid RSC request marker; malformed or repeated values are ignored. */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "isRSCRequestHeader", { enumerable: true, get: function() { return isRSCRequestHeader; } }); function isRSCRequestHeader(value) { return value === '1'; } //# sourceMappingURL=is-rsc-request.js.map