Changeset 19a2630635324aeed23f74061133ba433a639cd4 for http/request.cc
- Timestamp:
- 08/26/10 22:11:40 (21 months ago)
- Children:
- 28939ac15506b95f59142a06b7d6794a801f8198
- Parents:
- 654bb6066f0a41076097ffd2498c04805e4d7276
- git-committer:
- Antti-Juhani Kaijanaho <ajk@…> (08/26/10 22:11:40)
- Files:
-
- 1 modified
-
http/request.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
http/request.cc
r751fac6 r19a2630 115 115 { 116 116 if (form_data_ready) return; 117 if (method != "POST" || 118 get_header("content-type") 119 == "application/x-www-form-urlencoded") 117 std::string ct = get_header("content-type"); 118 size_t sc = ct.find(';'); 119 if (sc != std::string::npos) ct.erase(sc); 120 if (method != "POST" || ct == "application/x-www-form-urlencoded") 120 121 { 121 122 std::string bd = method == "POST"
