mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 05:12:29 +00:00
- Add tests that verify actual HTTP behavior with different payload sizes - Test exact contentLength (should succeed), less than (should fail), more than (should fail) - Cover both Bun.s3() and S3Client APIs - Test both contentLength and ContentLength parameter styles - Add validation tests for negative values - Include the exact use case from GitHub issue #18240 These tests ensure the contentLength restriction actually works at the HTTP level, not just URL generation, providing full coverage of the feature behavior. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>