only include the status code if we have one