add configuration for chunked transfer