Followups mostly to r75906.
authorNeil Kandalgaonkar <neilk@users.mediawiki.org>
Tue, 16 Nov 2010 00:24:37 +0000 (00:24 +0000)
committerNeil Kandalgaonkar <neilk@users.mediawiki.org>
Tue, 16 Nov 2010 00:24:37 +0000 (00:24 +0000)
commit467db32fa1e97acf52092157ddf28c25c49fc270
tree4097401a49cbd9c76fd4d85df7d428a0f1776105
parent0ffa744c147369253e95f1f5f7ede8adb7266d29
Followups mostly to r75906.

* Improved logic around error messages, and understandability of those messages.

* Removed FIXME on Content-Length header. When we serve the file
this way, it seems to be necessary to explicitly set the Content-Length. I tried
removing it and unsurprisingly it did not appear.

I am unsure what RoanKattouw is referring to when he says PHP can do this.
How can PHP know what the Content-Length is going to be, unless we set this explicitly?
includes/specials/SpecialUploadStash.php