ncdengine/engine/transport/src/catalogshttpdownload.cpp
changeset 80 9dcba1ee99f7
parent 69 b18a4bf55ddb
equal deleted inserted replaced
77:d1838696558c 80:9dcba1ee99f7
  2220 // Checks if the given header matches any of the request headers that have
  2220 // Checks if the given header matches any of the request headers that have
  2221 // an predefined enumeration in the platform DL manager
  2221 // an predefined enumeration in the platform DL manager
  2222 // ---------------------------------------------------------------------------
  2222 // ---------------------------------------------------------------------------
  2223 //	    
  2223 //	    
  2224 TUint CCatalogsHttpDownload::MatchWithPredefinedRequestHeader( 
  2224 TUint CCatalogsHttpDownload::MatchWithPredefinedRequestHeader( 
  2225     const TDesC8& aHeader ) const
  2225     const TDesC8& /* aHeader */ ) const
  2226     {
  2226     {
  2227     /* HLa
  2227     /* HLa
  2228     if ( aHeader.CompareF( KHttpRequestAcceptHeader ) == 0 ) 
  2228     if ( aHeader.CompareF( KHttpRequestAcceptHeader ) == 0 ) 
  2229         {
  2229         {
  2230         return EDlAttrRequestAccept;
  2230         return EDlAttrRequestAccept;
  2278 // Checks if the given header matches any of the general headers that have
  2278 // Checks if the given header matches any of the general headers that have
  2279 // an predefined enumeration in the platform DL manager
  2279 // an predefined enumeration in the platform DL manager
  2280 // ---------------------------------------------------------------------------
  2280 // ---------------------------------------------------------------------------
  2281 //	           
  2281 //	           
  2282 TUint CCatalogsHttpDownload::MatchWithPredefinedGeneralHeader( 
  2282 TUint CCatalogsHttpDownload::MatchWithPredefinedGeneralHeader( 
  2283     const TDesC8& aHeader ) const
  2283     const TDesC8& /* aHeader */ ) const
  2284     {
  2284     {
  2285     /* HLa
  2285     /* HLa
  2286     if ( aHeader.CompareF( KHttpGeneralCacheControlHeader ) == 0 ) 
  2286     if ( aHeader.CompareF( KHttpGeneralCacheControlHeader ) == 0 ) 
  2287         {
  2287         {
  2288         return EDlAttrGeneralCacheControl;
  2288         return EDlAttrGeneralCacheControl;
  2312 // Checks if the given header matches any of the entity headers that have
  2312 // Checks if the given header matches any of the entity headers that have
  2313 // an predefined enumeration in the platform DL manager
  2313 // an predefined enumeration in the platform DL manager
  2314 // ---------------------------------------------------------------------------
  2314 // ---------------------------------------------------------------------------
  2315 //	    
  2315 //	    
  2316 TUint CCatalogsHttpDownload::MatchWithPredefinedEntityHeader( 
  2316 TUint CCatalogsHttpDownload::MatchWithPredefinedEntityHeader( 
  2317     const TDesC8& aHeader ) const
  2317     const TDesC8& /* aHeader */ ) const
  2318     {
  2318     {
  2319     /*
  2319     /*
  2320     if ( aHeader.CompareF( KHttpEntityAllowHeader ) == 0 ) 
  2320     if ( aHeader.CompareF( KHttpEntityAllowHeader ) == 0 ) 
  2321         {
  2321         {
  2322         return EDlAttrEntityAllow;
  2322         return EDlAttrEntityAllow;