haxe.Http onError succes/onData

Hej !

I’ve seen that if haxe.Http gets onError, it doesn’t trigger onData even if when catching the error responseBytes is not empty, it just throw “Http Error #” + status.
I wonder if it’s stupid to trigger onData also when !( 200 < status < 400 ) or at least join to throw Http Error # + status + responseBytes.toString() for example.
I mean, Http Codes maybe don’t allow to have a body when !( 200 < status < 400 ), but technically it’s possible. So is it stupid or maybe it could be done in std ?