--- a/codhandler/codeng/src/HttpLoader.cpp Tue Aug 31 16:17:46 2010 +0300
+++ b/codhandler/codeng/src/HttpLoader.cpp Wed Sep 01 12:28:30 2010 +0100
@@ -17,7 +17,6 @@
*
*/
-
// INCLUDE FILES
#include "HttpLoader.h"
@@ -31,7 +30,7 @@
#include "Connection.h"
#include "Timeout.h"
#include "CodProgress.h"
-#include "CodEngBase.h"
+#include "CodEngbase.h"
#include <cookiefilterinterface.h>
#include <uaproffilter_interface.h>
@@ -40,18 +39,16 @@
#include <bldvariant.hrh>
#include <ecom/ecom.h>
#include <es_sock.h>
-#include <escapeutils.h>
+#include <EscapeUtils.h>
#include <http/rhttpheaders.h>
#include <Oma2Agent.h>
-#include <HttpDownloadMgrCommon.h>
-#include "HeaderField.h"
-#include "FileExt.h"
-#include "CodData.h"
-
-
+#include <httpdownloadmgrcommon.h>
+#include "HeaderField.h"
+#include "FileExt.h"
+#include "CodData.h"
_LIT8( KDRMOldContentType, "x-drm-old-content-type"); // old content type header to be added
-_LIT8( KAcceptRangeHeader, "bytes");
+_LIT8( KAcceptRangeHeaderNone, "none");
// ================= CONSTANTS =======================
@@ -1069,16 +1066,15 @@
THTTPHdrVal value;
TInt index = FindHeaderField(iResponseHeaders, range.DesC());
-
if( index != KErrNotFound )
- {
- if( !(*iResponseHeaders)[index]->FieldRawData()->Compare( KAcceptRangeHeader() ) )
- {
- return ETrue;
- }
- }
-
- return EFalse;
+ {
+ if( !(*iResponseHeaders)[index]->FieldRawData()->Compare( KAcceptRangeHeaderNone() ) )
+ {
+ return EFalse;
+ }
+ }
+ return ETrue;
+
}
// ---------------------------------------------------------