Git Product home page Git Product logo

Comments (3)

rejetto avatar rejetto commented on September 26, 2024

Code 200 is the response of the server, and it's HTTP standard.
The HTTP code says nothing on what happens "after", so there's no such code like a "the browser disconnected in the middle of the download". Even the size, is not the size actually downloaded, but the size that was agreed for the download.

Note: if a user is using a download manager, it will generate even 5 different requests for a single download, because download is split in parts.

This is not ideal for all users, and I already noticed this problem, but it's a bit tricky, because HFS 3 is producing "apache" standard log.
The reason for using the standard is because so you can use a lot of existing software for statistics.
So, before introducing extra information I have to undestand what's the best way to do it without breaking compatibility.

I'm considering introducing an extra column with a "description" by HFS on the same log entries that actually completed the dowload, but I have to consider other possibilities, like generating a separated log entry (with a fake code number to avoid confusion and double counting in statistics), or even a separated log file.

from hfs.

rejetto avatar rejetto commented on September 26, 2024

If you take some time to describe exactly, in details, how you imagine the feature to work, it would be useful.
The more I understand your needs, the more I will design a proper functionality.

from hfs.

rejetto avatar rejetto commented on September 26, 2024

see #334

from hfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.