Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Individual GET requests no longer work on current release #88

Open
ifennna opened this issue Jan 18, 2019 · 1 comment
Open

Individual GET requests no longer work on current release #88

ifennna opened this issue Jan 18, 2019 · 1 comment

Comments

@ifennna
Copy link

ifennna commented Jan 18, 2019

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.

@ifennna ifennna changed the title Individual GET requests no longer work Individual GET requests no longer work on current release Jan 21, 2019
@ifennna
Copy link
Author

ifennna commented Jan 21, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant