Adding HTTP status code fixing header table creation