Does Stata support passing in a user agent into a url request? For example, when trying to import delimited "url_example" where the url is a flat txt file.
this isnt a problem on many websites, but currently bls.gov flat files (such as https://download.bls.gov/pub/time.se...ata.1.AllItems) pop up as a 403 error. When trying to download on python, the same error occurs until you pass in the user-agent of an email (as stipulated by the bls site).
If not, how would you download the flat file with code without downloading the txt onto your computer.
this isnt a problem on many websites, but currently bls.gov flat files (such as https://download.bls.gov/pub/time.se...ata.1.AllItems) pop up as a 403 error. When trying to download on python, the same error occurs until you pass in the user-agent of an email (as stipulated by the bls site).
If not, how would you download the flat file with code without downloading the txt onto your computer.
Comment