Return proper HTTP response