mirror of
https://github.com/actix/examples
synced 2025-03-04 21:42:46 +01:00
Without doing this, body size would be unknown at the time of sending, causing awc to use transfer encoding which is probably unexpected in most cases. This change makes behavior more obvious.