Skip to content

File download problem in OBS and CDN

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:

  1. Log in to Huawei Cloud Console
  2. Choose Domains in the navigation panel
  3. Click the target domain
  4. Advanced Settings
  5. Click edit HTTP Headers
  6. Set Content-Disposition to inline
Published inHuawei Cloud
© 2024 M.Sertaç Bayır - All Rights Reserved