Skip to content

feat: Add configurable HTTP headers#443

Open
Namaneo wants to merge 1 commit into
SimformSolutionsPvtLtd:mainfrom
Namaneo:http-headers
Open

feat: Add configurable HTTP headers#443
Namaneo wants to merge 1 commit into
SimformSolutionsPvtLtd:mainfrom
Namaneo:http-headers

Conversation

@Namaneo
Copy link
Copy Markdown

@Namaneo Namaneo commented May 19, 2026

Description

This PR enable customization of HTTP headers, passing them all the way down to every instance of CachedNetworkImage. This is useful for instance when image requests require authentication. I don't think I forgot any path but if I do please let me know.

I haven't found any test in that repo, I believe this is trivial enough that it doesn't require any anyway, and I don't think it's worth updating the examples either. Let me know if you feel otherwise about any of this.

Checklist

  • The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

Related Issues

N/A.

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