flush headers if no body sent
APath for web::fromJson()