Again, nil is default for attrs not present in a table, so if you're not nil, you should just return what you know is defined. Otherwise, return the "Unknown HTTP Status" default string.