docs($http): fix typo in headersGetter

Closes #15198
This commit is contained in:
tijwelch
2016-09-29 10:29:06 -05:00
committed by Georgios Kalpakas
parent 714b53ac6f
commit 26a6a9b624
+1 -1
View File
@@ -195,7 +195,7 @@ function parseHeaders(headers) {
* @param {(string|Object)} headers Headers to provide access to.
* @returns {function(string=)} Returns a getter function which if called with:
*
* - if called with single an argument returns a single header value or null
* - if called with an argument returns a single header value or null
* - if called with no arguments returns an object containing all headers.
*/
function headersGetter(headers) {