==== //projects/shared/curl-7.10.3-1/akamai/curl/include/curl/curl.h#3 - /common/u0/lcampbel/build/akamai/curl/include/curl/curl.h ====
***************
*** 20,26 ****
   * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
   * KIND, either express or implied.
   *
!  * $Id: //projects/shared/curl-7.10.3-1/akamai/curl/include/curl/curl.h#3 $
   ***************************************************************************/
  
  #include <stdio.h>
--- 20,26 ----
   * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
   * KIND, either express or implied.
   *
!  * $Id: curl.h,v 1.185 2003/01/09 10:36:25 bagder Exp $
   ***************************************************************************/
  
  #include <stdio.h>
***************
*** 871,879 ****
  
    CURLINFO_PRIVATE = CURLINFO_STRING + 21,
  
    /* Fill in new entries here! */
  
!   CURLINFO_LASTONE          = 22
  } CURLINFO;
  
  typedef enum {
--- 871,881 ----
  
    CURLINFO_PRIVATE = CURLINFO_STRING + 21,
  
+   CURLINFO_FULL_CONTENT_TYPE = CURLINFO_STRING + 22,
+ 
    /* Fill in new entries here! */
  
!   CURLINFO_LASTONE          = 23
  } CURLINFO;
  
  typedef enum {
==== //projects/shared/curl-7.10.3-1/akamai/curl/lib/getinfo.c#3 - /common/u0/lcampbel/build/akamai/curl/lib/getinfo.c ====
***************
*** 18,24 ****
   * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
   * KIND, either express or implied.
   *
!  * $Id: //projects/shared/curl-7.10.3-1/akamai/curl/lib/getinfo.c#3 $
   ***************************************************************************/
  
  #include "setup.h"
--- 18,24 ----
   * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
   * KIND, either express or implied.
   *
!  * $Id: getinfo.c,v 1.24 2002/11/20 19:11:22 bagder Exp $
   ***************************************************************************/
  
  #include "setup.h"
***************
*** 64,69 ****
--- 64,73 ----
      free(info->contenttype);
    info->contenttype = NULL;
  
+   if (info->fullcontenttype)
+     free(info->fullcontenttype);
+   info->fullcontenttype = NULL;
+ 
    info->header_size = 0;
    info->request_size = 0;
    return CURLE_OK;
***************
*** 158,163 ****
--- 162,170 ----
    case CURLINFO_CONTENT_TYPE:
      *param_charp = data->info.contenttype;
      break;
+   case CURLINFO_FULL_CONTENT_TYPE:
+     *param_charp = data->info.fullcontenttype;
+     break;
    case CURLINFO_PRIVATE:
      *param_charp = data->set.private?data->set.private:(char *)"";
      break;
==== //projects/shared/curl-7.10.3-1/akamai/curl/lib/transfer.c#3 - /common/u0/lcampbel/build/akamai/curl/lib/transfer.c ====
***************
*** 18,24 ****
   * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
   * KIND, either express or implied.
   *
!  * $Id: //projects/shared/curl-7.10.3-1/akamai/curl/lib/transfer.c#3 $
   ***************************************************************************/
  
  #include "setup.h"
--- 18,24 ----
   * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
   * KIND, either express or implied.
   *
!  * $Id: transfer.c,v 1.132 2003/01/07 16:15:59 bagder Exp $
   ***************************************************************************/
  
  #include "setup.h"
***************
*** 580,585 ****
--- 580,588 ----
                /* copy the content-type string */
                memcpy(data->info.contenttype, start, len);
                data->info.contenttype[len] = 0; /* zero terminate */
+ 
+               /* copy the full content-type header */
+               data->info.fullcontenttype = strdup(start);
              }
              else if((k->httpversion == 10) &&
                      conn->bits.httpproxy &&
==== //projects/shared/curl-7.10.3-1/akamai/curl/lib/url.c#3 - /common/u0/lcampbel/build/akamai/curl/lib/url.c ====
***************
*** 18,24 ****
   * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
   * KIND, either express or implied.
   *
!  * $Id: //projects/shared/curl-7.10.3-1/akamai/curl/lib/url.c#3 $
   ***************************************************************************/
  
  /* -- WIN32 approved -- */
--- 18,24 ----
   * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
   * KIND, either express or implied.
   *
!  * $Id: url.c,v 1.252 2003/01/10 16:19:32 bagder Exp $
   ***************************************************************************/
  
  /* -- WIN32 approved -- */
***************
*** 216,221 ****
--- 216,224 ----
    if(data->info.contenttype)
      free(data->info.contenttype);
  
+   if(data->info.fullcontenttype)
+     free(data->info.fullcontenttype);
+ 
    free(data);
    return CURLE_OK;
  }
==== //projects/shared/curl-7.10.3-1/akamai/curl/lib/urldata.h#3 - /common/u0/lcampbel/build/akamai/curl/lib/urldata.h ====
***************
*** 20,26 ****
   * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
   * KIND, either express or implied.
   *
!  * $Id: //projects/shared/curl-7.10.3-1/akamai/curl/lib/urldata.h#3 $
   ***************************************************************************/
  
  /* This file is for lib internal stuff */
--- 20,26 ----
   * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
   * KIND, either express or implied.
   *
!  * $Id: urldata.h,v 1.141 2003/01/09 16:47:09 bagder Exp $
   ***************************************************************************/
  
  /* This file is for lib internal stuff */
***************
*** 499,504 ****
--- 499,505 ----
    long request_size; /* the amount of bytes sent in the request(s) */
  
    char *contenttype; /* the content type of the object */
+   char *fullcontenttype; /* full Content-type line (including charset=) */
  };
  
  

