lib/service.js
function extractHeaders(options) {
    let headers = {};
    if (options && options.headers) {
        headers = options.headers;
        delete options.headers;
    }
    return headers;
}
function extractHeaders(options) {
    let headers = {};
    if (options && options.headers) {
        headers = options.headers;
        delete options.headers;
    }
    return headers;
}
function extractHeaders ( options ) { let headers = { } ; if ( options && options . headers ) { headers = options . headers ; delete options . headers ; } return headers ; }
Extract headers from options object
Extract headers from options object