[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Poorly named functions: `get_local_filename` and `get_local_
From: |
Tim Rühsen |
Subject: |
Re: wget2 | Poorly named functions: `get_local_filename` and `get_local_filename_real` in `src/wget.c` (#485) |
Date: |
Sat, 26 Oct 2019 10:10:51 +0000 |
Tim Rühsen commented:
Nothing against a better naming. Just moving the two functions a bit during my
refactoring (so let's wait until done with that - looks pretty good already).
We need (sadly) two functions, because the filename (basename) can change
*after* we got the HTTP header (e.g. -E would add a extension (.html, .css,
...) depending on the content type).
But maybe we can simplify some things later.
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/issues/485#note_235936903
You're receiving this email because of your account on gitlab.com.