|
|
| version 1.40, 2001/10/30 14:51:14 | version 1.41, 2001/11/01 15:45:27 |
|---|---|
| Line 511 static void _file(Request& r, const Stri | Line 511 static void _file(Request& r, const Stri |
| Value *vcontent_type; | Value *vcontent_type; |
| if(charset) { | if(charset) { |
| VHash *vhcontent_type=new(pool) VHash(pool); | VHash *vhcontent_type=new(pool) VHash(pool); |
| vhcontent_type->hash().put(*value_name, new(pool) VString(*scontent_type)); | vhcontent_type->hash(&method_name).put(*value_name, new(pool) VString(*scontent_type)); |
| String *scharset=new(pool) String(pool, charset); | String *scharset=new(pool) String(pool, charset); |
| vhcontent_type->hash().put(*new(pool) String(pool, "charset"), new(pool) VString(*scharset)); | vhcontent_type->hash(&method_name).put(*new(pool) String(pool, "charset"), new(pool) VString(*scharset)); |
| vcontent_type=vhcontent_type; | vcontent_type=vhcontent_type; |
| } else | } else |
| vcontent_type=new(pool) VString(*scontent_type); | vcontent_type=new(pool) VString(*scontent_type); |