diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-26 23:58:59 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-26 23:58:59 +0900 |
| commit | 8f2030da0983188147f321da697c331964dc1431 (patch) | |
| tree | d19158dc8e56846130141894248a5b841eb87739 /src/HttpHeader.cc | |
| parent | b9f972665b9a0ec348167d42a9acd5002b35ac3c (diff) | |
Removed HttpHeader::findAs{LL}Int and unused HttpResponse::{has,get}RetryAfter
Diffstat (limited to 'src/HttpHeader.cc')
| -rw-r--r-- | src/HttpHeader.cc | 20 |
1 files changed, 0 insertions, 20 deletions
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); |
