Skip to content
Myr

typo

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 48a14a4 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/request.js+1 added-1 removed
80 unmodified lines
8182req.get = function(field, param){83 var val = this.header(field);84 if (!val) return '';85 var regexp = new RegExp(key + ' *= *(?:"([^"]+)"|([^;]+))', 'i');85 var regexp = new RegExp(param + ' *= *(?:"([^"]+)"|([^;]+))', 'i');86 if (!regexp.exec(val)) return '';87 return RegExp.$1 || RegExp.$2;88};89
220 unmodified lines