Skip to content

Commit

Permalink
Attempt to fix typing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
amarandon committed Nov 14, 2024
1 parent 51a5bd6 commit 8001071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eodag/plugins/download/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ def _stream_download(
stream_size = self._check_stream_size(product) or None

product.headers = self.stream.headers
filename = self._check_product_filename(product) or None
filename = self._check_product_filename(product)
product.headers["content-disposition"] = f"attachment; filename={filename}"
content_type = product.headers.get("Content-Type")
guessed_content_type = (
Expand Down

0 comments on commit 8001071

Please sign in to comment.