Diff for /parser3/src/main/pa_request.C between versions 1.245.2.9 and 1.245.2.12

version 1.245.2.9, 2003/02/03 09:21:00 version 1.245.2.12, 2003/02/03 11:55:33
Line 41  const char* ORIGINS_CONTENT_TYPE="text/p Line 41  const char* ORIGINS_CONTENT_TYPE="text/p
 // globals  // globals
   
 StringPtr main_method_name(new String(MAIN_METHOD_NAME));  StringPtr main_method_name(new String(MAIN_METHOD_NAME));
   StringPtr content_disposition_name(new String(CONTENT_DISPOSITION_NAME));
   StringPtr content_disposition_value(new String(CONTENT_DISPOSITION_VALUE));
   StringPtr content_disposition_filename_name(new String(CONTENT_DISPOSITION_FILENAME_NAME));
   
 // defines for statics  // defines for statics
   
Line 91  Request::Request(SAPI_Info& asapi_info, Line 94  Request::Request(SAPI_Info& asapi_info,
         main_class(VClassMAIN_create()),          main_class(VClassMAIN_create()),
         charsets(pool(), *UTF8_charset, *UTF8_charset, *UTF8_charset), // default charsets          charsets(pool(), *UTF8_charset, *UTF8_charset, *UTF8_charset), // default charsets
   
         response(new VResponse(arequest_info, charsets)),          response(new VResponse(fpool, arequest_info, charsets)),
         form(new VForm),          form(new VForm),
         mail(new VMail),          mail(new VMail),
         cookie(new VCookie)          cookie(new VCookie)
Line 113  Request::Request(SAPI_Info& asapi_info, Line 116  Request::Request(SAPI_Info& asapi_info,
         // status class          // status class
         if(status_allowed)          if(status_allowed)
                 classes().put(StringPtr(new String(STATUS_CLASS_NAME)),                   classes().put(StringPtr(new String(STATUS_CLASS_NAME)), 
                         ValuePtr(new VStatus));                          ValuePtr(new VStatus(pool())));
         // request class          // request class
         classes().put(StringPtr(new String(REQUEST_CLASS_NAME)),           classes().put(StringPtr(new String(REQUEST_CLASS_NAME)), 
                 ValuePtr(new VRequest(arequest_info, charsets)));                         ValuePtr(new VRequest(arequest_info, charsets)));       
Line 267  gettimeofday(&mt[0],NULL); Line 270  gettimeofday(&mt[0],NULL);
                                 mime_types=table;                                                         mime_types=table;                       
   
                 // filling form fields                  // filling form fields
                 form->fill_fields_and_tables(charsets, request_info);                  form->fill_fields_and_tables(pool(), charsets, request_info);
   
                 // filling cookies                  // filling cookies
                 cookie->fill_fields(pool(), request_info);                  cookie->fill_fields(pool(), request_info);
Line 588  static void add_header_attribute( Line 591  static void add_header_attribute(
 }  }
 void Request::output_result(VFilePtr body_file, bool header_only, bool as_attachment) {  void Request::output_result(VFilePtr body_file, bool header_only, bool as_attachment) {
         // header: cookies          // header: cookies
         cookie->output_result(sapi_info);          cookie->output_result(pool(), sapi_info);
                   
         ValuePtr body_file_content_type;          ValuePtr body_file_content_type;
         // set content-type          // set content-type

Removed from v.1.245.2.9  
changed lines
  Added in v.1.245.2.12


E-mail: