Skip to content
Myr

add note about inclusive ranges

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent f4c8a59 · Browse files · 1 file+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:lib/request.js+4 added
142 unmodified lines
143 * the total number of bytes. If the Range144 * header field is not given `undefined` is returned,145 * on failure `null` is returned.146 *147 * NOTE: remember that ranges are inclusive, so148 * for example "Range: users=0-3" should respond149 * with 4 users when available, not 3.150 *151 * @param {Number} size152 * @return {Array}153 * @api public154 */
303 unmodified lines