Fix to return only header is X-Accel is on.

I think need return only header of X-Accel is ON.