Hacker News new | ask | show | jobs
by 153957 1815 days ago
For a project where I worked on we offered streaming TSV responses and always finished the response with a last row containing a comment: `# Finished downloading.`. Since we also managed one of the client packages to access the endpoints, we check for that when the download is finished and raise an error if it is not there.