New feature: now the "url" option can be a closure or anything respond to "call"