[GRASS-git] [OSGeo/grass] 48e382: python/grass/utils: fix checking server response c...

Tomas Zigo noreply at github.com
Tue Nov 5 21:33:42 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 48e382c35b80b7f92cd8621d7c0163443ff44184
      https://github.com/OSGeo/grass/commit/48e382c35b80b7f92cd8621d7c0163443ff44184
  Author: Tomas Zigo <50632337+tmszi at users.noreply.github.com>
  Date:   2024-11-06 (Wed, 06 Nov 2024)

  Changed paths:
    M python/grass/utils/download.py

  Log Message:
  -----------
  python/grass/utils: fix checking server response content type/dispostion header (#4658)

To allow to download ZIP file.

Server response headers which indicating ZIP file:

content-type: application/octet-stream
content-disposition: attachment; filename=natural_earth_dataset.zip

Fix download Natural Earth Dataset in WGS84 from the server URL
https://zenodo.org/records/13370131/files/natural_earth_dataset.zip



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list