When a file input has a file selected, the file is sent. When there is no file selected, nothing is sent. On the server there is no way to distinguish between null or absent. There should be some way to give null value to a file input if we want to delete its contents on the server. It is a similar problem to that of checkboxes.
@alejsanc, have you filed this issue on HTML? This seems more like an oversight (or bug?) with HTML instead of something that would require incubation.
When a file input has a file selected, the file is sent. When there is no file selected, nothing is sent. On the server there is no way to distinguish between null or absent. There should be some way to give null value to a file input if we want to delete its contents on the server. It is a similar problem to that of checkboxes.