Skip to content

refactor: remove unused CacheHint.to_http_header#19

Merged
nogueira-raphael merged 1 commit intomainfrom
refactor/remove-unused-cache-hint-to-http-header
Feb 15, 2026
Merged

refactor: remove unused CacheHint.to_http_header#19
nogueira-raphael merged 1 commit intomainfrom
refactor/remove-unused-cache-hint-to-http-header

Conversation

@nogueira-raphael
Copy link
Copy Markdown
Owner

Summary

  • Remove CacheHint.to_http_header() method that was not used in production code
  • Remove corresponding unit tests and unused pytest import
  • HTTP header generation is only needed at the response level via ResponseCachePolicy.to_http_header(), not on individual field hints

Test plan

  • All 139 tests passing
  • mypy clean
  • Verified no production code references CacheHint.to_http_header()

HTTP header generation is only needed at the response level via
ResponseCachePolicy.to_http_header, not on individual field hints.
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.41%. Comparing base (34643bc) to head (a39eca0).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
- Coverage   71.55%   71.41%   -0.14%     
==========================================
  Files          34       34              
  Lines        1030     1025       -5     
  Branches      163      162       -1     
==========================================
- Hits          737      732       -5     
  Misses        254      254              
  Partials       39       39              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nogueira-raphael nogueira-raphael merged commit 3652910 into main Feb 15, 2026
7 checks passed
@nogueira-raphael nogueira-raphael deleted the refactor/remove-unused-cache-hint-to-http-header branch February 15, 2026 11:26
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

Successfully merging this pull request may close these issues.

1 participant