Home | History | Annotate | Download | only in base

Lines Matching refs:content_type

52 void MultipartStream::GetContentType(std::string* content_type) {
53 ASSERT(NULL != content_type);
54 content_type->assign(type_);
55 content_type->append("; boundary=");
56 content_type->append(boundary_);
61 const std::string& content_type) {
62 if (!AddPart("", content_disposition, content_type))
71 const std::string& content_type) {
84 if (!content_type.empty()) {
86 << content_type << "\r\n";
113 const std::string& content_type) const {
124 if (!content_type.empty()) {
125 // for ToString(HH_CONTENT_TYPE): content_type\r\n
127 content_type.size() + 2;