Updated to fix KeyErrors - 'http' to 'anonymous http'