Consolidate expect_100_continue into single polymorphic variant
Replace two parameters (expect_100_continue:bool, expect_100_continue_threshold:int64)
with a single polymorphic variant parameter:
type config = [
| `Disabled (* Never use 100-continue *)
| `Always (* Always use for requests with bodies *)
| `Threshold of int64 (* Use for bodies >= n bytes *)
]
Default: `Threshold 1_048_576L (1MB) - same behavior as before.
This provides a cleaner API while maintaining full flexibility.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>