Two Bugs Found by Running My Rust Daemon on Real Infrastructure
Two critical bugs found in the Notionless Rust daemon reveal insights on reqwest and API design.
The Notionless Rust daemon, which mirrors a Notion database to Paperless-ngx, revealed two critical bugs during deployment. These issues highlighted lessons about reqwest and API design that unit tests missed. The first bug involved reqwest silently dropping the Authorization header during a scheme-change redirect. The second bug showed that a 'no error' response does not guarantee success. Both issues underscore the importance of testing in real-world scenarios.