You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2003/04/22 00:26:23 UTC

cvs commit: httpd-apreq-2/src README

joes        2003/04/21 15:26:23

  Modified:    src      README
  Log:
  Update struct descriptions in src/README.
  
  Revision  Changes    Path
  1.3       +16 -4     httpd-apreq-2/src/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/src/README,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- README	26 Jan 2003 13:35:22 -0000	1.2
  +++ README	21 Apr 2003 22:26:23 -0000	1.3
  @@ -21,7 +21,8 @@
       apreq_cookie_t: extends apreq_value_t to represent server-side
                   cookie data.
   
  -    apreq_jar_t: Just a table with cookie-based copy/merge functions.
  +    apreq_jar_t: A pool and a table with cookie-based copy/merge functions.
  +                 This struct is analogous to apreq_request_t for params.
   
   
     PARAM EXTENSIONS:
  @@ -30,12 +31,23 @@
   
       apreq_request_t: maintains arg/body tables which represent parsed data.
   
  +        REQUEST STATES:
  +           req->body == NULL: No POST data has been read/parsed yet. At this
  +                              point, req->v.data holds a pointer to the parser
  +                              table.
  +
  +           req->body != NULL: req->v.data now points to the active parser.
  +
  +                req->v.status == APR_INCOMPLETE: Parsing in progress.
  +                req->v.status == APR_SUCCESS: Parsing complete.
  +                req->v.status == <other>: parser error, parsing aborted.             
  +
   
     PARSER EXTENSIONS:
   
       apreq_parser_t: extends apreq_value_t to represent a parser callback,
                       with its associated configuration data.
   
  -    The apreq_table_t extension for managing parsers is currently
  -                   environment-dependent.  Environments are 
  -                   extension-agnostic.
  +    APREQ_HOOK: extends multipart/form-data by transforming the input 
  +                brigade and pushing buckets onto the current param->bb.
  +