Properly remove f.name usage in send_file#1988
Conversation
|
There is a broken PR in master (#1849) that I've merged, I want somebody else to review this closely. |
|
FWIW, the original discussion is #104 -- I'm torn about mimetype support. |
|
I'm okay removing etags I suppose but if we stop sending correct mimetypes that's not great. |
|
We don't have to remove anything but usage of f.name attribute I think (as far as I understand this is the only thing that is actually broken design) |
|
@mitsuhiko Check it out now, a.) Doesn't use |
|
Looks good to me. Reviewed 1 of 3 files at r1, 2 of 2 files at r2. Comments from Reviewable |
|
Fixed tests. I wonder if we should still infer the |
|
Ah whatever. |
Amend #1849
This change is