httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@hyperreal.org
Subject cvs commit: apache-1.3/src/support ab.c
Date Fri, 04 Sep 1998 20:48:45 GMT
martin      98/09/04 13:48:45

  Modified:    src/support ab.c
  Log:
  Fix default generation of Content-Type: header for POST requests
  
  Revision  Changes    Path
  1.15      +1 -1      apache-1.3/src/support/ab.c
  
  Index: ab.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/support/ab.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ab.c	1998/08/25 09:22:14	1.14
  +++ ab.c	1998/09/04 20:48:44	1.15
  @@ -623,7 +623,7 @@
                        VERSION,
                        keepalive ? "Connection: Keep-Alive\r\n" : "", 
                        hostname, postlen, 
  -                     (content_type) ? content_type : "text/plain");
  +                     (content_type[0]) ? content_type : "text/plain");
       }
   
       if (verbosity >= 2) printf("INFO: POST header == \n---\n%s\n---\n", request);
  
  
  

Mime
View raw message