equal
deleted
inserted
replaced
723 m_decoder = new TextResourceDecoder("text/plain", m_encoding); |
723 m_decoder = new TextResourceDecoder("text/plain", m_encoding); |
724 // allow TextResourceDecoder to look inside the m_response if it's XML or HTML |
724 // allow TextResourceDecoder to look inside the m_response if it's XML or HTML |
725 else if (responseIsXML()) |
725 else if (responseIsXML()) |
726 m_decoder = new TextResourceDecoder("application/xml"); |
726 m_decoder = new TextResourceDecoder("application/xml"); |
727 else if (responseMIMEType() == "text/html") |
727 else if (responseMIMEType() == "text/html") |
728 m_decoder = new TextResourceDecoder("text/html", "UTF-8"); |
728 m_decoder = new TextResourceDecoder("text/html"); |
729 else |
729 else |
730 m_decoder = new TextResourceDecoder("text/plain", "UTF-8"); |
730 m_decoder = new TextResourceDecoder("text/plain", "UTF-8"); |
731 } |
731 } |
732 if (len == 0) |
732 if (len == 0) |
733 return; |
733 return; |