From 8f2030da0983188147f321da697c331964dc1431 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 26 Sep 2012 23:58:59 +0900 Subject: Removed HttpHeader::findAs{LL}Int and unused HttpResponse::{has,get}RetryAfter --- src/HttpHeader.cc | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/HttpHeader.cc') diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index d72ca965..40181bd3 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -85,26 +85,6 @@ HttpHeader::equalRange(int hdKey) const return table_.equal_range(hdKey); } -int32_t HttpHeader::findAsInt(int hdKey) const -{ - const std::string& value = find(hdKey); - if(value.empty()) { - return 0; - } else { - return util::parseInt(value); - } -} - -int64_t HttpHeader::findAsLLInt(int hdKey) const -{ - const std::string& value = find(hdKey); - if(value.empty()) { - return 0; - } else { - return util::parseLLInt(value); - } -} - RangeHandle HttpHeader::getRange() const { const std::string& rangeStr = find(CONTENT_RANGE); -- cgit