To output the code name in a readable way. It seemed weird to duplicate that enum. And the enum name was HttpResponseCodes. It felt weird that the values were named: 'OK_CODE'. Redundant. So I just decided to reuse it. Agreed it's a riskier change than needed but I did a full search for the enum name in all files.