Removed redundant allocation for 0 length body when making basic response.