dpd-fileupload
dpd-fileupload copied to clipboard
Individual GET requests no longer work on current release
Individual GET requests to uploaded files no longer work.
A request to http://localhost:2403/upload/filename.extension
returns an empty response with the following headers:
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0
Content-Type: text/html; charset=utf-8
Date: Fri, 18 Jan 2019 11:25:31 GMT
Connection: keep-alive
Content-Length: 0
The uploaded file still shows up in the collection and in the upload
folder though.
So apparently this has been fixed in commits after the 0.0.17
release. At the moment, anyone having this problem could pull directly from the repo like so:
npm install git+https://github.com/NicolasRitouet/dpd-fileupload.git
I think the changes made deserve a new release, however. Especially since the version available on npm is broken. So I'll leave the issue open and edit the header.