allow extraHeaders in getObjectInfo