• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / tg-spam / 13662150829

04 Mar 2025 08:16PM UTC coverage: 78.831% (-0.1%) from 78.953%
13662150829

push

github

umputun
improve backup download handling and testing

This commit improves the backup download functionality and its testing:

- change content-type to application/octet-stream for better browser handling
- remove content-encoding header as it's not needed
- use defer with error handling for gzip writer closure
- add flush operation to ensure all data is written
- update test to verify gzip compression and content
- remove unnecessary error test case

7 of 10 new or added lines in 1 file covered. (70.0%)

5 existing lines in 1 file now uncovered.

3899 of 4946 relevant lines covered (78.83%)

67.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

80.55
/app/webapi/webapi.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc