--- parser3/src/main/pa_http.C 2013/07/23 09:46:58 1.59 +++ parser3/src/main/pa_http.C 2014/04/15 22:20:43 1.61 @@ -13,7 +13,7 @@ #include "pa_vfile.h" #include "pa_random.h" -volatile const char * IDENT_PA_HTTP_C="$Id: pa_http.C,v 1.59 2013/07/23 09:46:58 moko Exp $" IDENT_PA_HTTP_H; +volatile const char * IDENT_PA_HTTP_C="$Id: pa_http.C,v 1.61 2014/04/15 22:20:43 moko Exp $" IDENT_PA_HTTP_H; #ifdef _MSC_VER #include @@ -689,6 +689,7 @@ File_read_http_result pa_internal_file_r asked_remote_charset=&charsets.get(vcharset_name->as_string().change_case(r.charsets.source(), String::CC_UPPER)); } if(Value* vresponse_charset_name=options->get(PA_RESPONSE_CHARSET_NAME)) { + valid_options++; real_remote_charset=&charsets.get(vresponse_charset_name->as_string().change_case(r.charsets.source(), String::CC_UPPER)); } if(Value* vuser=options->get(HTTP_USER)) {