applayerprotocols/httptransportfw/Test/t_httptransporthandler/testdata.h
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef	__TESTDATA_H__
       
    17 #define __TESTDATA_H__
       
    18 
       
    19 _LIT8(KRequestData,"POST /wappush HTTP/1.1\r\nHost:\r\nDate: Tue, 31 Jul 2001 10:13:05 GMT\r\nContent-Type: application/http\r\nContent-Length: 504\r\nX-Wap-Push-OTA-Version: 1.0\r\n\r\nHTTP/1.1 200 OK\r\nDate: Tue, 31 Jul 2001 10:13:00 GMT\r\nLast-modified: Tue, 31 Jul 2001 10:13:00 GMT\r\nContent-Language: en\r\nContent-Length: 268\r\nContent-Type: text/vnd.wap.si\r\nX-Wap-Application-Id: x-wap-application:wml.ua\r\n\r\n<?xml version=\"1.0\"?><!DOCTYPE si PUBLIC \"-//WAPFORUM//DTD SI 1.0//EN\" \"http://www.wapforum.org/DTD/si.dtd\"><si><indication href=\"http://www.xyz.com/email/123/abc.wml\"created=\"2001-07-31T10:13:00Z\"si-expires=\"2001-08-07T10:13:00Z\">You have 4 new emails</indication></si>");
       
    20 
       
    21 _LIT8(KResponseData,"HTTP/1.1 204 No Content\r\nX-Wap-Push-Status: 400 Accepted");
       
    22 
       
    23 _LIT8(KSecureRequestData, "GET / HTTP/1.1\r\nHost: waptest2.intra\r\n\r\n");
       
    24 
       
    25 _LIT8(KSecureResponseData, "HTTP/1.1 200 OK");
       
    26 
       
    27 #endif	// __TESTDATA_H__