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

Tomas Zigo noreply at github.com
Tue Nov 5 21:35:11 PST 2024


  Branch: refs/heads/releasebranch_8_4
  Home:   https://github.com/OSGeo/grass
  Commit: be98a7792b971d997b7bb0cdef6c9410141df1bf
      https://github.com/OSGeo/grass/commit/be98a7792b971d997b7bb0cdef6c9410141df1bf
  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