In the request header, you must specify the file type Content-Type in accordance with the List of MIME types.
GA-Filename
string
required
If the file is not in the list of MIME types, you can pass the GA-Filename header, specifying the file name with the extension. This will allow you to upload files such as .go or .py.