committed by
Georgios Kalpakas
parent
714b53ac6f
commit
26a6a9b624
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user