When attempting to view files within Huawei Cloud’s OBS storage service using a browser, the files are automatically downloaded instead. Actually this is not a problem.
Huawei Cloud describe that online preview is disabled by default and requires activation steps.
To enable online preview:
- Log in to Huawei Cloud Console
- Choose Domains in the navigation panel
- Click the target domain
- Advanced Settings
- Click edit HTTP Headers
- Set
Content-Disposition
toinline