update max_body to 2048 as per mastevens