Skip to content

Commit

Permalink
misspell
Browse files Browse the repository at this point in the history
  • Loading branch information
astrozhou committed May 22, 2017
1 parent f6e75c3 commit bf7019c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mars/comm/http.cc
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ const char* const KStringChunked = "chunked";
const char* const KStringClose = "close";
const char* const KStringKeepalive = "Keep-Alive";
const char* const KStringAcceptAll = "*/*";
const char* const KStringAcceptEncodingDefalte = "defalte";
const char* const KStringAcceptEncodingDeflate = "deflate";
const char* const KStringAcceptEncodingGzip = "gzip";
const char* const KStringNoCache = "no-cache";
const char* const KStringOctetType = "application/octet-stream";
Expand Down Expand Up @@ -333,7 +333,7 @@ std::pair<const std::string, std::string> HeaderFields::MakeAcceptAll() {
}

std::pair<const std::string, std::string> HeaderFields::MakeAcceptEncodingDefalte() {
return std::make_pair(KStringAcceptEncoding, KStringAcceptEncodingDefalte);
return std::make_pair(KStringAcceptEncoding, KStringAcceptEncodingDeflate);
}
std::pair<const std::string, std::string> HeaderFields::MakeAcceptEncodingGzip() {
return std::make_pair(KStringAcceptEncoding, KStringAcceptEncodingGzip);
Expand Down

0 comments on commit bf7019c

Please sign in to comment.