Diff for /libwww/Library/src/HTReqMan.c between versions 2.43 and 2.44

version 2.43, 1996/06/03 19:25:27 version 2.44, 1996/06/07 04:40:07
Line 330  PUBLIC HTMIMEParseSet * HTRequest_MIMEPa Line 330  PUBLIC HTMIMEParseSet * HTRequest_MIMEPa
     return NULL;      return NULL;
 }  }
   
 /* HTRequest_dispatchMIMEParse - call request's MIME header parser.  
 ** Use global parser if no appropriate one is found for request.  
 */  
 PUBLIC int HTRequest_dispatchMIMEParse (HTRequest * me, char * token,   
                                          char * value)  
 {  
     int status;  
     BOOL found;  
     HTMIMEParseSet * parseSet;  
   
     /* In case we get an empty header consisting of a CRLF, we fall thru */  
     if (STREAM_TRACE) HTTrace("checking MIME header %s: %s\n", token, value);  
   
     if (me->parseSet != NULL) {  
         status = HTMIMEParseSet_dispatch(me->parseSet, me, token, value,   
                                          &found);  
         if (found)  
             return status;  
         if (me->pars_local)  
             return HT_OK; /* not found, but that's OK */  
     }  
   
     if ((parseSet = HTHeader_MIMEParseSet()) == NULL)  
         return HT_OK;  
     status = HTMIMEParseSet_dispatch(parseSet, me, token, value, &found);  
     if (found)  
         return status;  
     if (STREAM_TRACE) HTTrace("Ignoring MIME header: %s: %s.\n", token, value);  
   
     return HT_OK;  
 }  
   
 /*  /*
 **      Set General Headers  **      Set General Headers
 */  */

Removed from v.2.43  
changed lines
  Added in v.2.44


Webmaster