Added in comment about response.type == 'basic'