I won't start even bigger shitstorm by naming better languages in my opinion. Suffice to say I've never had problems sending headers or getting HTTP status code in any major language, except JS(examples are linked in the post).
Your beef seems to be with a pile of convenience code added by some other projects.