'How to format Twilio-to-iphone vCard like android-to-iphone?

I'm using Twilio-python client. The vCard is rendered properly on android. However, on iPhone, it looks like a file and the extension (.vcard/.vcf) is visible. It still works but looks weird:
Twilio-to-iPhone (.vcard looks the same except for extension)

I tried sending a contact from android to iPhone and it was rendered properly by the iPhone:
Android-to-iPhone

Relevant posts that I have tried:
vCard sent with Twilio not properly rendered in iOS
Twilio - Sending vCard Not Rendering Properly
Generate VCard and Send Via Twilio
iOS failing to render vcf file
Vcard MMS file name is always "text 1"

Based on these posts, I tried several combinations of Content-Disposition, Content-Type, and Cache-Control headers in the media_url response but it still looks the same:

For Content-Disposition:
inline; filename="James.vcf"
attachment; filename="James.vcf"
inline; name="James"
attachment; name="James"

For Content-Type:
text/vcard
text/x-vcard
text/vcard
text/vcard; charset=utf-8; name="fileName.vcf"

Twilio blog for sending vcards via sms:
https://www.twilio.com/blog/send-vcard-twilio-sms



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source