Status code extraction