print_label now returns the http status code