Repository navigation
0.0.17-alpha: Refactor: Use `header` instead of `addHeader` for custom headers
Use header instead of addHeader for custom headers
Using header ensures that if a header with the same name already exists, it is replaced with the new value. In contrast, addHeader would append another header with the same name, which could lead to unexpected behavior. This change makes the header injection more robust and predictable.