Should be` _negotiator`, not `_negotatiator` (typo in function) #1258

Closed
KostyaTretyak opened this Issue Dec 30, 2016 · 1 comment

Projects

None yet

2 participants

@KostyaTretyak

Now in docs if checks _negotatiator, but sould _negotiator

From file lib/request.js:

function negotiator(req) {
    var h = req.headers;

    if (!req._negotatiator) {
        req._negotiator = new Negotatior({
            headers: {
                accept: h.accept || '*/*',
                'accept-encoding': h['accept-encoding'] ||
                    'identity'
            }
        });
    }

    return (req._negotiator);
}
@KostyaTretyak KostyaTretyak changed the title from Sould be` _negotiator`, not `_negotatiator` (typo in function) to Should be` _negotiator`, not `_negotatiator` (typo in function) Dec 31, 2016
@yunong
Member
yunong commented Jan 9, 2017

fixed by 024cf58

@yunong yunong closed this Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment