since we added getResponseHeaders method, getHeaders method renamed to getRequestHeaders