servicediscoveryandcontrol/pnp/test/upnp/unittests/upnpmessagetest/data/upnpmessagetest.ini
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     1 ///////////////////////////////////////////////////////////////////////////////
       
     2 //////////////// ***** Response Parser Test ***** ////////////////
       
     3 ///////////////////////////////////////////////////////////////////////////////
       
     4 
       
     5 //////////////////////////////////////////////////////////////////////////////////////////
       
     6 ///// Parsing a single simple response /////
       
     7 ///// No excess data in the response /////
       
     8 ///// Only One data chunk in the response /////
       
     9 //////////////////////////////////////////////////////////////////////////////////////////
       
    10 [RESPONSE_PARSER_TEST_1]
       
    11 DataChunk1			= HTTP/1.1 200 Ok\r\nContent-Length: 6\r\nServer: Local-Test\r\nDate: Thu, 20 Dec 2007 03:08:55 GMT\r\nContent-Type: text/html; charset=ISO-8859-1\r\n\r\nHELLO!
       
    12 ParseExcessData		= EFalse
       
    13 ExpectedResponses		= 1
       
    14 DataChunkCount		= 1
       
    15 
       
    16 
       
    17 //////////////////////////////////////////////////////////////////////////////////////////
       
    18 ///// Parsing 2 responses /////
       
    19 ///// 2nd response present as excess data of the 1st response /////
       
    20 ///// Only One data chunk in the response /////
       
    21 //////////////////////////////////////////////////////////////////////////////////////////
       
    22 [RESPONSE_PARSER_TEST_2]
       
    23 DataChunk1			= HTTP/1.1 200 Ok\r\nContent-Length: 6\r\nServer: Local-Test\r\nDate: Thu, 20 Dec 2007 03:08:55 GMT\r\n\r\nHELLO!HTTP/1.1 200 Ok\r\nContent-Type: text/html\r\nContent-Length: 4\r\n\r\nBODY
       
    24 ParseExcessData		= ETrue
       
    25 ExpectedResponses		= 2
       
    26 DataChunkCount		= 1
       
    27 
       
    28 
       
    29 //////////////////////////////////////////////////////////////////////////////////////////
       
    30 ///// Parsing a single simple response /////
       
    31 ///// Response has chunked body /////
       
    32 ///// No excess data in the response /////
       
    33 ///// Only One data chunk in the response /////
       
    34 //////////////////////////////////////////////////////////////////////////////////////////
       
    35 [RESPONSE_PARSER_TEST_3]
       
    36 DataChunk1			= HTTP/1.1 200 Ok\r\nTransfer-Encoding: chunked\r\n\r\n10\r\n1234567890abcdef\r\n0\r\n\r\n
       
    37 ParseExcessData		= EFalse
       
    38 ExpectedResponses		= 1
       
    39 DataChunkCount		= 1
       
    40 
       
    41 
       
    42 //////////////////////////////////////////////////////////////////////////////////////////
       
    43 ///// Parsing 2 responses /////
       
    44 ///// 2nd response is present as excess data of the 1st response /////
       
    45 ///// Only One data chunk in the response /////
       
    46 ///// Both responses have chunked body /////
       
    47 //////////////////////////////////////////////////////////////////////////////////////////
       
    48 [RESPONSE_PARSER_TEST_4]
       
    49 DataChunk1			= HTTP/1.1 200 Ok\r\nTransfer-Encoding: chunked\r\n\r\n10\r\n1234567890abcdef\r\n0\r\n\r\nHTTP/1.1 200 Ok\r\nContent-Type: text/html\r\nTransfer-Encoding: chunked\r\n\r\n4\r\ntest\r\n5\r\nchunk\r\n0\r\n\r\n
       
    50 ParseExcessData		= ETrue
       
    51 ExpectedResponses		= 2
       
    52 DataChunkCount		= 1
       
    53 
       
    54 
       
    55 //////////////////////////////////////////////////////////////////////////////////////////
       
    56 ///// Parsing 2 responses /////
       
    57 ///// 2nd response is present as excess data of the 1st response /////
       
    58 ///// Only One data chunk in the response /////
       
    59 ///// One response has content length the other has chunked body /////
       
    60 //////////////////////////////////////////////////////////////////////////////////////////
       
    61 [RESPONSE_PARSER_TEST_5]
       
    62 DataChunk1			= HTTP/1.1 200 Ok\r\nContent-Type: text/html\r\nContent-Length: 4\r\n\r\nBODYHTTP/1.1 200 Ok\r\nContent-Type: text/html\r\nTransfer-Encoding: chunked\r\n\r\n4\r\ntest\r\n5\r\nchunk\r\n0\r\n\r\n
       
    63 ParseExcessData		= ETrue
       
    64 ExpectedResponses		= 2
       
    65 DataChunkCount		= 1
       
    66 
       
    67 
       
    68 //////////////////////////////////////////////////////////////////////////////////////////
       
    69 ///// Parsing 2 responses /////
       
    70 ///// 2nd response is present as excess data of the 1st response /////
       
    71 ///// Only One data chunk in the response /////
       
    72 ///// One response has content length the other has chunked body /////
       
    73 //////////////////////////////////////////////////////////////////////////////////////////
       
    74 [RESPONSE_PARSER_TEST_6]
       
    75 DataChunk1			= HTTP/1.1 200 Ok\r\nContent-Type: text/html\r\nTransfer-Encoding: chunked\r\n\r\n4\r\ntest\r\n5\r\nchunk\r\n0\r\n\r\nHTTP/1.1 200 Ok\r\nContent-Type: text/html\r\nContent-Length: 4\r\n\r\nBODY
       
    76 ParseExcessData		= ETrue
       
    77 ExpectedResponses		= 2
       
    78 DataChunkCount		= 1
       
    79 
       
    80 
       
    81 //////////////////////////////////////////////////////////////////////////////////////////
       
    82 ///// Parsing a single simple response /////
       
    83 ///// No excess data in the response /////
       
    84 ///// Response is split into 4 data chunks /////
       
    85 //////////////////////////////////////////////////////////////////////////////////////////
       
    86 [RESPONSE_PARSER_TEST_7]
       
    87 DataChunk1			= HTTP/1.1 200 Ok\r\nContent-Length: 6\r\n
       
    88 DataChunk2			= Server: Local-Test\r\n
       
    89 DataChunk3			= Date: Thu, 20 Dec 2007 03:08:55 GMT\r\n\r\n
       
    90 DataChunk4			= HELLO!
       
    91 ParseExcessData		= EFalse
       
    92 ExpectedResponses		= 1
       
    93 DataChunkCount		= 4
       
    94 
       
    95 
       
    96 //////////////////////////////////////////////////////////////////////////////////////////
       
    97 ///// Parsing a single simple response /////
       
    98 ///// Response has chunked body /////
       
    99 ///// No excess data in the response /////
       
   100 ///// Response is split into 4 data chunks /////
       
   101 //////////////////////////////////////////////////////////////////////////////////////////
       
   102 [RESPONSE_PARSER_TEST_8]
       
   103 DataChunk1			= HTTP/1.1 200 Ok\r\n
       
   104 DataChunk2			= Transfer-Encoding: chunked\r\n\r\n
       
   105 DataChunk3			= 10\r\n
       
   106 DataChunk4			= 1234567890abcdef\r\n0\r\n\r\n
       
   107 ParseExcessData		= EFalse
       
   108 ExpectedResponses		= 1
       
   109 DataChunkCount		= 4
       
   110 
       
   111 
       
   112 //////////////////////////////////////////////////////////////////////////////////////////
       
   113 ///// Parsing a single simple response /////
       
   114 ///// No excess data in the response /////
       
   115 ///// Response body is split into 7 data chunks /////
       
   116 //////////////////////////////////////////////////////////////////////////////////////////
       
   117 [RESPONSE_PARSER_TEST_9]
       
   118 DataChunk1			= HTTP/1.1 200 Ok\r\nContent-Length: 48\r\nServer: Local-Test\r\nDate: Thu, 20 Dec 2007 03:08:55 GMT\r\n\r\n
       
   119 DataChunk2			= BIG BODY
       
   120 DataChunk3			= THAT HAS
       
   121 DataChunk4			= BEEN SPLIT
       
   122 DataChunk5			= INTO
       
   123 DataChunk6			= MANY
       
   124 DataChunk7			= SMALLER CHUNKS
       
   125 ParseExcessData		= EFalse
       
   126 ExpectedResponses		= 1
       
   127 DataChunkCount		= 7
       
   128 
       
   129 
       
   130 //////////////////////////////////////////////////////////////////////////////////////////
       
   131 ///// Parsing a single simple response /////
       
   132 ///// Response has chunked body /////
       
   133 ///// No excess data in the response /////
       
   134 ///// chunked response body is split into 8 data chunks /////
       
   135 //////////////////////////////////////////////////////////////////////////////////////////
       
   136 [RESPONSE_PARSER_TEST_10]
       
   137 DataChunk1			= HTTP/1.1 200 Ok\r\n
       
   138 DataChunk2			= Transfer-Encoding: chunked\r\n\r\n
       
   139 DataChunk3			= 11\r\n
       
   140 DataChunk4			= BIG BODY THAT HAS\r\n
       
   141 DataChunk5			= 4\r\nBEEN\r\n
       
   142 DataChunk6			= 5\r\nSPLIT\r\n
       
   143 DataChunk7			= 9\r\nINTO MANY
       
   144 DataChunk8			= \r\ne\r\nSMALLER CHUNKS\r\n0\r\n\r\n
       
   145 ParseExcessData		= EFalse
       
   146 ExpectedResponses		= 1
       
   147 DataChunkCount		= 8
       
   148 
       
   149 
       
   150 //////////////////////////////////////////////////////////////////////////////////////////
       
   151 ///// Parsing 2 responses /////
       
   152 ///// 2nd response present as excess data of the 1st response /////
       
   153 ///// 1st response is split into 4 data chunks /////
       
   154 ///// 2nd response is split into 3 data chunks /////
       
   155 //////////////////////////////////////////////////////////////////////////////////////////
       
   156 [RESPONSE_PARSER_TEST_11]
       
   157 DataChunk1			= HTTP/1.1 200 Ok\r\nContent-Length: 
       
   158 DataChunk2			= 6\r\nServer: Local-Test\r\nDate: Thu, 20 Dec 20
       
   159 DataChunk3			= 07 03:08:55 GMT\r\n\r\nHE
       
   160 DataChunk4			= LLO!HTTP/1.1 200 Ok\r\nContent-Type: 
       
   161 DataChunk5			= text/html\r\nContent-Length: 4\r\n\r\n
       
   162 DataChunk6			= BODY
       
   163 ParseExcessData		= ETrue
       
   164 ExpectedResponses		= 2
       
   165 DataChunkCount		= 6
       
   166 
       
   167 
       
   168 //////////////////////////////////////////////////////////////////////////////////////////
       
   169 ///// Parsing 2 responses /////
       
   170 ///// Response has chunked body /////
       
   171 ///// 2nd response present as excess data of the 1st response /////
       
   172 ///// 1st response is split into 4 data chunks /////
       
   173 ///// 2nd response is split into 4 data chunks /////
       
   174 //////////////////////////////////////////////////////////////////////////////////////////
       
   175 [RESPONSE_PARSER_TEST_12]
       
   176 DataChunk1			= HTTP/1.1 200 Ok\r\nTransfer-Encoding: 
       
   177 DataChunk2			= chunked\r\n\r\n10\r\n
       
   178 DataChunk3			= 1234567890abc
       
   179 DataChunk4			= def\r\n0\r\n\r\nHTTP/1.1 200 Ok\r\nTran
       
   180 DataChunk5			= sfer-Encoding: chunked\r\n\r\n
       
   181 DataChunk6			= 10\r\n1234567890abcdef\r\n
       
   182 DataChunk7			= 0\r\n\r\n
       
   183 ParseExcessData		= ETrue
       
   184 ExpectedResponses		= 2
       
   185 DataChunkCount		= 7
       
   186 
       
   187 
       
   188 //////////////////////////////////////////////////////////////////////////////////////////
       
   189 ///// Parsing 2 responses /////
       
   190 ///// 2nd response is present as excess data of the 1st response /////
       
   191 ///// 1st response is split into 3 data chunks /////
       
   192 ///// 2nd response is split into 4 data chunks /////
       
   193 ///// One response has content length the other has chunked body /////
       
   194 //////////////////////////////////////////////////////////////////////////////////////////
       
   195 [RESPONSE_PARSER_TEST_13]
       
   196 DataChunk1			= HTTP/1.1 200 Ok\r\nContent-Type: 
       
   197 DataChunk2			= text/html\r\nContent-
       
   198 DataChunk3			= Length: 4\r\n\r\nBODYHTTP/1.1 200 Ok\r\n
       
   199 DataChunk4			= Content-Type: text/html\r\nTransfer-Encoding: chun
       
   200 DataChunk5			= ked\r\n\r\n4\r\ntest\r\n
       
   201 DataChunk6			= 5\r\nchunk\r\n0\r\n\r\n
       
   202 ParseExcessData		= ETrue
       
   203 ExpectedResponses		= 2
       
   204 DataChunkCount		= 6
       
   205 
       
   206 
       
   207 //////////////////////////////////////////////////////////////////////////////////////////
       
   208 ///// Parsing a 100-Continue responses /////
       
   209 //////////////////////////////////////////////////////////////////////////////////////////
       
   210 [RESPONSE_PARSER_TEST_14]
       
   211 DataChunk1			= HTTP/1.1 100 Continue\r\nContent-Length: 0\r\n\r\nHTTP/1.1 200 Ok\r\nContent-Length: 0\r\n\r\nHTTP/1.1 204 No Content\r\n\r\nHTTP/1.1 304 Not Modified\r\nContent-length: 0\r\n\r\n
       
   212 ParseExcessData		= ETrue
       
   213 ExpectedResponses		= 3
       
   214 DataChunkCount		= 1
       
   215 
       
   216 
       
   217 //////////////////////////////////////////////////////////////////////////////////////////
       
   218 ///// Parsing a single simple response /////
       
   219 //////////////////////////////////////////////////////////////////////////////////////////
       
   220 [RESPONSE_PARSER_TEST_15]
       
   221 DataChunk1			= HTTP/1.1 200 Ok\r\nContent-Length: 0\r\n\r\n
       
   222 ParseExcessData		= ETrue
       
   223 ExpectedResponses		= 1
       
   224 DataChunkCount		= 1
       
   225 
       
   226 
       
   227 //////////////////////////////////////////////////////////////////////////////////////////
       
   228 ///// Parsing a single simple response /////
       
   229 ///// HTTP version 1.0 /////
       
   230 //////////////////////////////////////////////////////////////////////////////////////////
       
   231 [RESPONSE_PARSER_TEST_16]
       
   232 DataChunk1			= HTTP/1.0 200 Ok\r\nContent-Length: 0\r\n\r\n
       
   233 ParseExcessData		= EFalse
       
   234 ExpectedResponses		= 1
       
   235 DataChunkCount		= 1
       
   236 
       
   237 
       
   238 //////////////////////////////////////////////////////////////////////////////////////////
       
   239 ///// Parsing a single simple response /////
       
   240 ///// HTTP version 0.1 /////
       
   241 //////////////////////////////////////////////////////////////////////////////////////////
       
   242 [RESPONSE_PARSER_TEST_17]
       
   243 DataChunk1			= HTTP/0.1 200 Ok\r\nContent-Length: 0\r\n\r\n
       
   244 ParseExcessData		= EFalse
       
   245 ExpectedResponses		= 1
       
   246 DataChunkCount		= 1
       
   247 
       
   248 
       
   249 //////////////////////////////////////////////////////////////////////////////////////////
       
   250 ///// Parsing a single simple response /////
       
   251 ///// No excess data in the response /////
       
   252 ///// Only One data chunk in the response /////
       
   253 ///// Response has a non-HTTP protocol /////
       
   254 //////////////////////////////////////////////////////////////////////////////////////////
       
   255 [RESPONSE_PARSER_TEST_18]
       
   256 DataChunk1			= WSP/1.1 200 Ok\r\nContent-Length: 6\r\nServer: Local-Test\r\nDate: Thu, 20 Dec 2007 03:08:55 GMT\r\nContent-Type: text/html; charset=ISO-8859-1\r\n\r\nHELLO!
       
   257 ParseExcessData		= EFalse
       
   258 ExpectedResponses		= 1
       
   259 DataChunkCount		= 1
       
   260 
       
   261 
       
   262 //////////////////////////////////////////////////////////////////////////////////////////
       
   263 ///// Parsing a single simple response /////
       
   264 ///// No excess data in the response /////
       
   265 ///// Only One data chunk in the response /////
       
   266 ///// Response has a non-HTTP protocol /////
       
   267 //////////////////////////////////////////////////////////////////////////////////////////
       
   268 [RESPONSE_PARSER_TEST_19]
       
   269 DataChunk1			= HTTP2/1.1 200 Ok\r\nContent-Length: 6\r\nServer: Local-Test\r\nDate: Thu, 20 Dec 2007 03:08:55 GMT\r\nContent-Type: text/html; charset=ISO-8859-1\r\n\r\nHELLO!
       
   270 ParseExcessData		= EFalse
       
   271 ExpectedResponses		= 1
       
   272 DataChunkCount		= 1
       
   273 
       
   274 
       
   275 //////////////////////////////////////////////////////////////////////////////////////////
       
   276 ///// Parsing a single simple response /////
       
   277 ///// No excess data in the response /////
       
   278 ///// Only One data chunk in the response /////
       
   279 ///// Response has a non-HTTP protocol /////
       
   280 //////////////////////////////////////////////////////////////////////////////////////////
       
   281 [RESPONSE_PARSER_TEST_20]
       
   282 DataChunk1			= WSPP/1.1 200 Ok\r\nContent-Length: 6\r\nServer: Local-Test\r\nDate: Thu, 20 Dec 2007 03:08:55 GMT\r\nContent-Type: text/html; charset=ISO-8859-1\r\n\r\nHELLO!
       
   283 ParseExcessData		= EFalse
       
   284 ExpectedResponses		= 1
       
   285 DataChunkCount		= 1
       
   286 
       
   287 
       
   288 
       
   289 
       
   290 ///////////////////////////////////////////////////////////////////////////////
       
   291 //////////////// ***** Request Composer Test ***** ////////////////
       
   292 ///////////////////////////////////////////////////////////////////////////////
       
   293 
       
   294 ///////////////////////////////////////////////////////////////////////////////
       
   295 ///// Compose a simple GET request /////
       
   296 ///// Only 2 headers and no multiple values /////
       
   297 ///// No parameters for the headers /////
       
   298 ///////////////////////////////////////////////////////////////////////////////
       
   299 [REQUEST_COMPOSER_TEST_1]
       
   300 RequestMethod		= GET
       
   301 URI					= /index.html
       
   302 NoOfHdrValPairs		= 2
       
   303 HeaderValuePair1		= Accept: text/xml
       
   304 HeaderValuePair2		= User-Agent: UpnpMessageTest
       
   305 NoOfHdrParamValPairs	= 0
       
   306 RequestBodyPresence	= EFalse
       
   307 
       
   308 
       
   309 ///////////////////////////////////////////////////////////////////////////////
       
   310 ///// Compose a simple GET request /////
       
   311 ///// 7 headers and no multiple values /////
       
   312 ///// No parameters for the headers /////
       
   313 ///////////////////////////////////////////////////////////////////////////////
       
   314 [REQUEST_COMPOSER_TEST_2]
       
   315 RequestMethod		= GET
       
   316 URI					= /index.html
       
   317 NoOfHdrValPairs		= 7
       
   318 HeaderValuePair1		= Accept: text/xml
       
   319 HeaderValuePair2		= User-Agent: UpnpMessageTest
       
   320 HeaderValuePair3		= Accept-Language: en-us
       
   321 HeaderValuePair4		= Accept-Encoding: gzip
       
   322 HeaderValuePair5		= Accept-Charset: ISO-8859-1
       
   323 HeaderValuePair6		= Keep-Alive: 300
       
   324 HeaderValuePair7		= Connection: keep-alive
       
   325 NoOfHdrParamValPairs	= 0
       
   326 RequestBodyPresence	= EFalse
       
   327 
       
   328 
       
   329 ///////////////////////////////////////////////////////////////////////////////
       
   330 ///// Compose a simple GET request /////
       
   331 ///// 7 headers and with multiple values /////
       
   332 ///// No parameters for the headers /////
       
   333 ///////////////////////////////////////////////////////////////////////////////
       
   334 [REQUEST_COMPOSER_TEST_3]
       
   335 RequestMethod		= GET
       
   336 URI					= /index.html
       
   337 NoOfHdrValPairs		= 11
       
   338 HeaderValuePair1		= Accept: text/xml
       
   339 HeaderValuePair2		= User-Agent: UpnpMessageTest
       
   340 HeaderValuePair3		= Accept-Language: en-us
       
   341 HeaderValuePair4		= Accept-Encoding: gzip
       
   342 HeaderValuePair5		= Accept-Charset: ISO-8859-1
       
   343 HeaderValuePair6		= Keep-Alive: 300
       
   344 HeaderValuePair7		= Connection: keep-alive
       
   345 HeaderValuePair8		= Accept: application/xml
       
   346 HeaderValuePair9		= Accept: application/xhtml+xml
       
   347 HeaderValuePair10		= Accept-Language: en
       
   348 HeaderValuePair11		= Accept-Charset: utf-8
       
   349 NoOfHdrParamValPairs	= 0
       
   350 RequestBodyPresence	= EFalse
       
   351 
       
   352 
       
   353 ///////////////////////////////////////////////////////////////////////////////
       
   354 ///// Compose a simple GET request /////
       
   355 ///// 7 headers and with multiple values /////
       
   356 ///// Some headers have parameters /////
       
   357 ///////////////////////////////////////////////////////////////////////////////
       
   358 [REQUEST_COMPOSER_TEST_4]
       
   359 RequestMethod		= GET
       
   360 URI					= /index.html
       
   361 NoOfHdrValPairs		= 11
       
   362 HeaderValuePair1		= Accept: text/xml
       
   363 HeaderValuePair2		= User-Agent: UpnpMessageTest
       
   364 HeaderValuePair3		= Accept-Language: en-us
       
   365 HeaderValuePair4		= Accept-Encoding: gzip
       
   366 HeaderValuePair5		= Accept-Charset: ISO-8859-1
       
   367 HeaderValuePair6		= Keep-Alive: 300
       
   368 HeaderValuePair7		= Connection: keep-alive
       
   369 HeaderValuePair8		= Accept: application/xml
       
   370 HeaderValuePair9		= Accept: application/xhtml+xml
       
   371 HeaderValuePair10		= Accept-Language: en
       
   372 HeaderValuePair11		= Accept-Charset: utf-8
       
   373 NoOfHdrParamValPairs	= 4
       
   374 HeaderParamValPair1	= Accept: q=0.9 @1
       
   375 HeaderParamValPair2	= Accept: q=0.8 @2
       
   376 HeaderParamValPair3	= Accept-Language: q=0.5 @0
       
   377 HeaderParamValPair4	= Accept-Charset: q=0.6 @1
       
   378 RequestBodyPresence	= EFalse
       
   379 
       
   380 
       
   381 ///////////////////////////////////////////////////////////////////////////////
       
   382 ///// Compose a simple POST request /////
       
   383 ///// 7 headers and with multiple values /////
       
   384 ///// Some headers have parameters /////
       
   385 ///// Request has a body /////
       
   386 ///////////////////////////////////////////////////////////////////////////////
       
   387 [REQUEST_COMPOSER_TEST_5]
       
   388 RequestMethod		= POST
       
   389 URI					= /index.html
       
   390 NoOfHdrValPairs		= 11
       
   391 HeaderValuePair1		= Accept: text/xml
       
   392 HeaderValuePair2		= User-Agent: UpnpMessageTest
       
   393 HeaderValuePair3		= Accept-Language: en-us
       
   394 HeaderValuePair4		= Accept-Encoding: gzip
       
   395 HeaderValuePair5		= Accept-Charset: ISO-8859-1
       
   396 HeaderValuePair6		= Keep-Alive: 300
       
   397 HeaderValuePair7		= Connection: keep-alive
       
   398 HeaderValuePair8		= Accept: application/xml
       
   399 HeaderValuePair9		= Accept: application/xhtml+xml
       
   400 HeaderValuePair10		= Accept-Language: en
       
   401 HeaderValuePair11		= Accept-Charset: utf-8
       
   402 NoOfHdrParamValPairs	= 4
       
   403 HeaderParamValPair1	= Accept: q=0.9 @1
       
   404 HeaderParamValPair2	= Accept: q=0.8 @2
       
   405 HeaderParamValPair3	= Accept-Language: q=0.5 @0
       
   406 HeaderParamValPair4	= Accept-Charset: q=0.6 @1
       
   407 RequestBodyPresence	= ETrue
       
   408 Body					= <?xml version="1.0" encoding="utf-8"?><!-- 	spec version order changed.--><scpd xmlns="urn:schemas-upnp-org:service-1-0">   <specVersion>      <minor>0</minor>      <major>1</major>   </specVersion>   <actionList>      <action>         <name>UpdateObject</name>         <argumentList>            <argument>               <name>ObjectID</name>               <direction>in</direction>               <relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable>            </argument>            <argument>               <name>CurrentTagValue</name>               <direction>in</direction>               <relatedStateVariable>A_ARG_TYPE_TagValueList</relatedStateVariable>            </argument>            <argument>               <name>NewTagValue</name>               <direction>in</direction>               <relatedStateVariable>A_ARG_TYPE_TagValueList</relatedStateVariable>            </argument>         </argumentList>      </action>   </actionList>   <serviceStateTable>      <stateVariable sendEvents="no">         <name>A_ARG_TYPE_TransferStatus</name>         <dataType>string</dataType>         <allowedValueList>            <allowedValue>COMPLETED</allowedValue>            <allowedValue>ERROR</allowedValue>            <allowedValue>IN_PROGRESS</allowedValue>            <allowedValue>STOPPED</allowedValue>         </allowedValueList>      </stateVariable>      <stateVariable sendEvents="no">         <name>A_ARG_TYPE_TransferTotal</name>         <dataType>string</dataType>      </stateVariable>   </serviceStateTable></scpd>
       
   409 
       
   410 
       
   411 ///////////////////////////////////////////////////////////////////////////////
       
   412 ///// Compose a simple M-Search request /////
       
   413 ///// Request has no body /////
       
   414 ///////////////////////////////////////////////////////////////////////////////
       
   415 [REQUEST_COMPOSER_TEST_6]
       
   416 RequestMethod		= M-SEARCH
       
   417 URI					= *
       
   418 NoOfHdrValPairs		= 5
       
   419 HeaderValuePair1		= Host:239.255.255.250:1900
       
   420 HeaderValuePair2		= ST:urn:schemas-upnp-org:device:InternetGatewayDevice:1
       
   421 HeaderValuePair3		= Man: ssdp:discover
       
   422 HeaderValuePair4		= MX:3
       
   423 HeaderValuePair5        = EXT:
       
   424 NoOfHdrParamValPairs	= 0
       
   425 RequestBodyPresence	= EFalse
       
   426 
       
   427 
       
   428 ///////////////////////////////////////////////////////////////////////////////
       
   429 ///// Compose a simple NOTIFY request /////
       
   430 ///// Request has no body /////
       
   431 ///////////////////////////////////////////////////////////////////////////////
       
   432 [REQUEST_COMPOSER_TEST_7]
       
   433 RequestMethod		= NOTIFY
       
   434 URI					= *
       
   435 NoOfHdrValPairs		= 7
       
   436 HeaderValuePair1		= Host:239.255.255.250:1900
       
   437 HeaderValuePair2		= NT: upnp:rootdevice
       
   438 HeaderValuePair3		= USN: uuid:d77e6e04-f466-439a-b99a-88946979ef62::upnp:rootdevice
       
   439 HeaderValuePair4		= NTS: ssdp:alive
       
   440 HeaderValuePair5        = SERVER: Windows NT/5.0, UPnP/1.0
       
   441 HeaderValuePair6        = LOCATION: http://10.192.204.79:54771/
       
   442 HeaderValuePair7        = Content-Length: 0
       
   443 NoOfHdrParamValPairs	= 0
       
   444 RequestBodyPresence	= EFalse
       
   445 
       
   446 
       
   447 ///////////////////////////////////////////////////////////////////////////////
       
   448 ///// Compose a simple SUBSCRIBE request /////
       
   449 ///// Request has no body /////
       
   450 ///////////////////////////////////////////////////////////////////////////////
       
   451 [REQUEST_COMPOSER_TEST_8]
       
   452 RequestMethod		= SUBSCRIBE
       
   453 URI					= /_urn:upnp-org:serviceId:DimmingService.0001_event
       
   454 NoOfHdrValPairs		= 5
       
   455 HeaderValuePair1		= NT:  upnp:event
       
   456 HeaderValuePair2		= TIMEOUT:  300
       
   457 HeaderValuePair3		= HOST:  10.192.204.79:61447
       
   458 HeaderValuePair4		= CALLBACK:  http://10.192.204.79:8217/2ab3bfa7-31a5-4a9b-b229-171d3f89e103/urn:upnp-org:serviceId:DimmingService.0001
       
   459 HeaderValuePair5        = Content-Length: 0
       
   460 NoOfHdrParamValPairs	= 0
       
   461 RequestBodyPresence	= EFalse
       
   462 
       
   463 
       
   464 ///////////////////////////////////////////////////////////////////////////////
       
   465 ///// Compose a simple UNSUBSCRIBE request /////
       
   466 ///// Request has no body /////
       
   467 ///////////////////////////////////////////////////////////////////////////////
       
   468 [REQUEST_COMPOSER_TEST_9]
       
   469 RequestMethod		= UNSUBSCRIBE
       
   470 URI					= /_urn:upnp-org:serviceId:DimmingService.0001_event
       
   471 NoOfHdrValPairs		= 3
       
   472 HeaderValuePair1		= SID:  uuid:2ab3bfa7-31a5-4a9b-b229-171d3f89e103-urn:upnp-org:serviceId:DimmingService.0001-1
       
   473 HeaderValuePair2		= HOST:  10.192.204.79:61447
       
   474 HeaderValuePair3		= Content-Length: 0
       
   475 NoOfHdrParamValPairs	= 0
       
   476 RequestBodyPresence	= EFalse
       
   477 
       
   478 
       
   479 
       
   480 
       
   481 ///////////////////////////////////////////////////////////////////////////////
       
   482 //////////////// ***** Request Parser Test ***** ////////////////
       
   483 ///////////////////////////////////////////////////////////////////////////////
       
   484 
       
   485 //////////////////////////////////////////////////////////////////////////////////////////
       
   486 ///// Parsing a single simple request /////
       
   487 ///// No excess data in the request /////
       
   488 ///// Request is present as a single chunk /////
       
   489 //////////////////////////////////////////////////////////////////////////////////////////
       
   490 [REQUEST_PARSER_TEST_1]
       
   491 DataChunk1			= GET /index.html HTTP/1.0\r\nHost: www.cricinfo.com\r\nUser-Agent: UpnpMessageTest\r\nAccept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n\r\n
       
   492 ParseExcessData		= EFalse
       
   493 ExpectedRequests		= 1
       
   494 DataChunkCount		= 1
       
   495 
       
   496 
       
   497 //////////////////////////////////////////////////////////////////////////////////////////
       
   498 ///// Parsing a single simple request /////
       
   499 ///// Excess data in the request which is not parsed/////
       
   500 ///// Request is split into 5 chunks /////
       
   501 //////////////////////////////////////////////////////////////////////////////////////////
       
   502 [REQUEST_PARSER_TEST_2]
       
   503 DataChunk1			= GET /index.html HTTP/0.1\r\nHost: www.crici
       
   504 DataChunk2			= nfo.com\r\nUser-Agent: UpnpMessageTest\r\nAccept: text/xml,application/xml,applicati
       
   505 DataChunk3			= on/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language: en-us,
       
   506 DataChunk4			= en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: ISO-8859-1
       
   507 DataChunk5			= ,utf-8;q=0.7,*;q=0.7\r\n\r\nsome_junk_excess_data_that_isn't_parsed
       
   508 ParseExcessData		= EFalse
       
   509 ExpectedRequests		= 1
       
   510 DataChunkCount		= 5
       
   511 
       
   512 
       
   513 //////////////////////////////////////////////////////////////////////////////////////////
       
   514 ///// Parsing 2 simple request /////
       
   515 ///// 2nd request is present as the excess data of the first /////
       
   516 ///// 1st request is split into 5 chunks /////
       
   517 ///// 2nd request is split into 3 chunks /////
       
   518 ///// 2nd request has a body /////
       
   519 //////////////////////////////////////////////////////////////////////////////////////////
       
   520 [REQUEST_PARSER_TEST_3]
       
   521 DataChunk1			= GET /index.html HTTP/1.1\r\nHost: www.crici
       
   522 DataChunk2			= nfo.com\r\nUser-Agent: UpnpMessageTest\r\nAccept: text/xml,application/xml,applicati
       
   523 DataChunk3			= on/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language: en-us,
       
   524 DataChunk4			= en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: ISO-8859-1
       
   525 DataChunk5			= ,utf-8;q=0.7,*;q=0.7\r\n\r\nPOST /ho
       
   526 DataChunk6			= me.html HTTP/1.1\r\nHost: www.
       
   527 DataChunk7			= google.com\r\nUser-Agent: UpnpM
       
   528 DataChunk8			= essageTest\r\nContent-Length: 6\r\n\r\nHELLO!
       
   529 ParseExcessData		= ETrue
       
   530 ExpectedRequests		= 2
       
   531 DataChunkCount		= 8
       
   532 
       
   533 
       
   534 //////////////////////////////////////////////////////////////////////////////////////////
       
   535 ///// Parsing a single simple request that has a body /////
       
   536 ///// Excess data in the request which is not parsed /////
       
   537 ///// Request is split into 8 chunks /////
       
   538 //////////////////////////////////////////////////////////////////////////////////////////
       
   539 [REQUEST_PARSER_TEST_4]
       
   540 DataChunk1			= POST /index.html HTTP/1.1\r\nHost: www.goo
       
   541 DataChunk2			= gle.com\r\nUser-Agent: UpnpMessageTest\r\nAccept: text/xml,application/xml,applicati
       
   542 DataChunk3			= on/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language: en-us,
       
   543 DataChunk4			= en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: ISO-8859-1
       
   544 DataChunk5			= ,utf-8;q=0.7,*;q=0.7\r\nTransfer-Encoding: chunked\r\n\r\n10\r\n1234567
       
   545 DataChunk6			= 890abcdef\r\n1a;\r\nabcdefghijklmnop
       
   546 DataChunk7			= qrstuvwxyz\r\n0\r\n\r\nsome_junk_excess_data_that_isn't_parsed
       
   547 ParseExcessData		= EFalse
       
   548 ExpectedRequests		= 1
       
   549 DataChunkCount		= 7
       
   550 
       
   551 
       
   552 //////////////////////////////////////////////////////////////////////////////////////////
       
   553 ///// Parsing a single simple request that has a body /////
       
   554 ///// Excess data in the request which is not parsed /////
       
   555 ///// Request is split into 7 chunks /////
       
   556 ///// This is a GET request that has a body /////
       
   557 ///// Transfer-Encoding: chunked is used /////
       
   558 ///// The presence of the body has to be reported with KErrCorrupt ////
       
   559 //////////////////////////////////////////////////////////////////////////////////////////
       
   560 [REQUEST_PARSER_TEST_5]
       
   561 DataChunk1			= GET /index.html HTTP/1.1\r\nHost: www.goo
       
   562 DataChunk2			= gle.com\r\nUser-Agent: UpnpMessageTest\r\nAccept: text/xml,application/xml,applicati
       
   563 DataChunk3			= on/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language: en-us,
       
   564 DataChunk4			= en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: ISO-8859-1
       
   565 DataChunk5			= ,utf-8;q=0.7,*;q=0.7\r\nTransfer-Encoding: chunked\r\n\r\n10\r\n1234567
       
   566 DataChunk6			= 890abcdef\r\n1a;\r\nabcdefghijklmnop
       
   567 DataChunk7			= qrstuvwxyz\r\n0\r\n\r\nsome_junk_excess_data_that_isn't_parsed
       
   568 ParseExcessData		= EFalse
       
   569 ExpectedRequests		= 1
       
   570 DataChunkCount		= 7
       
   571 
       
   572 
       
   573 //////////////////////////////////////////////////////////////////////////////////////////
       
   574 ///// Parsing a single simple request that has a body /////
       
   575 ///// Excess data in the request which is not parsed /////
       
   576 ///// Request is split into 6 chunks /////
       
   577 ///// This is a GET request that has a body /////
       
   578 ///// Content-Length is used /////
       
   579 ///// The presence of the body has to be reported with KErrCorrupt ////
       
   580 //////////////////////////////////////////////////////////////////////////////////////////
       
   581 [REQUEST_PARSER_TEST_6]
       
   582 DataChunk1			= GET /index.html HTTP/1.1\r\nHost: www.goo
       
   583 DataChunk2			= gle.com\r\nUser-Agent: UpnpMessageTest\r\nAccept: text/xml,application/xml,applicati
       
   584 DataChunk3			= on/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language: en-us,
       
   585 DataChunk4			= en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: ISO-8859-1
       
   586 DataChunk5			= ,utf-8;q=0.7,*;q=0.7\r\nContent-Length: 10\r\n\r\n012345
       
   587 DataChunk6			= 6789
       
   588 ParseExcessData		= EFalse
       
   589 ExpectedRequests		= 1
       
   590 DataChunkCount		= 6
       
   591 
       
   592 
       
   593 //////////////////////////////////////////////////////////////////////////////////////////
       
   594 ///// Parsing 2 requests one of which has a body /////
       
   595 ///// Excess data in the request which is parsed /////
       
   596 ///// Request is split into 7 chunks /////
       
   597 ///// This is a GET request that has a body /////
       
   598 ///// Content-Length is used /////
       
   599 ///// The presence of the body has to be reported with KErrCorrupt ////
       
   600 //////////////////////////////////////////////////////////////////////////////////////////
       
   601 [REQUEST_PARSER_TEST_7]
       
   602 DataChunk1			= GET /index.html HTTP/1.1\r\nHost: www.goo
       
   603 DataChunk2			= gle.com\r\nUser-Agent: UpnpMessageTest\r\nAccept: text/xml,application/xml,applicati
       
   604 DataChunk3			= on/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language: en-us,
       
   605 DataChunk4			= en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: ISO-8859-1
       
   606 DataChunk5			= ,utf-8;q=0.7,*;q=0.7\r\nContent-Length: 10\r\n\r\n012345
       
   607 DataChunk6			= 6789GET /index.html HTTP/1.1\r\nH
       
   608 DataChunk7			= ost: www.google.com\r\n\r\n
       
   609 ParseExcessData		= ETrue
       
   610 ExpectedRequests		= 2
       
   611 DataChunkCount		= 7
       
   612 
       
   613 
       
   614 //////////////////////////////////////////////////////////////////////////////////////////
       
   615 ///// Parsing 2 requests one of which has a body /////
       
   616 ///// Excess data in the request which is parsed /////
       
   617 ///// Request is split into 8 chunks /////
       
   618 ///// This is a GET request that has a body /////
       
   619 ///// Transfer-Encoding: chunked is used /////
       
   620 ///// The presence of the body has to be reported with KErrCorrupt ////
       
   621 //////////////////////////////////////////////////////////////////////////////////////////
       
   622 [REQUEST_PARSER_TEST_8]
       
   623 DataChunk1			= GET /index.html HTTP/1.1\r\nHost: www.goo
       
   624 DataChunk2			= gle.com\r\nUser-Agent: UpnpMessageTest\r\nAccept: text/xml,application/xml,applicati
       
   625 DataChunk3			= on/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language: en-us,
       
   626 DataChunk4			= en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: ISO-8859-1
       
   627 DataChunk5			= ,utf-8;q=0.7,*;q=0.7\r\nTransfer-Encoding: chunked\r\n\r\n10\r\n1234567
       
   628 DataChunk6			= 890abcdef\r\n1a;\r\nabcdefghijklmnop
       
   629 DataChunk7			= qrstuvwxyz\r\n0\r\n\r\nGET /index.html HTTP/1.1\r\nH
       
   630 DataChunk8			= ost: www.google.com\r\n\r\n
       
   631 ParseExcessData		= ETrue
       
   632 ExpectedRequests		= 2
       
   633 DataChunkCount		= 8
       
   634 
       
   635 
       
   636 //////////////////////////////////////////////////////////////////////////////////////////
       
   637 ///// Parsing 2 requests that have a body /////
       
   638 ///// Excess data in the request which is parsed /////
       
   639 ///// Request is split into 7 chunks /////
       
   640 ///// This is a GET request that has a body /////
       
   641 ///// Transfer-Encoding: chunked is used /////
       
   642 ///// The presence of the body has to be reported with KErrCorrupt ////
       
   643 //////////////////////////////////////////////////////////////////////////////////////////
       
   644 [REQUEST_PARSER_TEST_9]
       
   645 DataChunk1			= GET /index.html HTTP/1.1\r\nHost: www.goo
       
   646 DataChunk2			= gle.com\r\nUser-Agent: UpnpMessageTest\r\nTransfer-En
       
   647 DataChunk3			= coding: chunked\r\n\r\n10\r\n1234567
       
   648 DataChunk4			= 890abcdef\r\n1a;\r\nab
       
   649 DataChunk5			= cdefghijklmnop
       
   650 DataChunk6			= qrstuvwxyz\r\n0\r\n\r\nGET /index.html HTTP/1.1\r\nHost: www.google.com
       
   651 DataChunk7			= \r\nContent-Length: 6\r\n\r\nHELLO!
       
   652 ParseExcessData		= ETrue
       
   653 ExpectedRequests		= 2
       
   654 DataChunkCount		= 7
       
   655 
       
   656 
       
   657 //////////////////////////////////////////////////////////////////////////////////////////
       
   658 ///// Parsing 2 requests that have a body /////
       
   659 ///// Excess data in the request which is parsed /////
       
   660 ///// Request is split into 6 chunks /////
       
   661 ///// This is a GET request that has a body /////
       
   662 ///// Content-Length is used /////
       
   663 ///// The presence of the body has to be reported with KErrCorrupt ////
       
   664 //////////////////////////////////////////////////////////////////////////////////////////
       
   665 [REQUEST_PARSER_TEST_10]
       
   666 DataChunk1			= GET /index.html HTTP/1.1\r\nHost: www.goo
       
   667 DataChunk2			= gle.com\r\nUser-Agent: UpnpMessageTest\r\nContent-Length: 10\r\n\r\n012345
       
   668 DataChunk3			= 6789GET /index.html HTTP/1.1\r\nHost: www.goo
       
   669 DataChunk4			= gle.com\r\nUser-Agent: UpnpMessageTest\r\nTransfer-En
       
   670 DataChunk5			= coding: chunked\r\n\r\n10\r\n1234567
       
   671 DataChunk6			= 890abcdef\r\n1a;\r\nabcdefghijklmnopqrstuvwxyz\r\n0\r\n\r\n
       
   672 ParseExcessData		= ETrue
       
   673 ExpectedRequests		= 2
       
   674 DataChunkCount		= 6
       
   675 
       
   676 
       
   677 //////////////////////////////////////////////////////////////////////////////////////////
       
   678 ///// Parsing 1 M-Search request /////
       
   679 ///// No excess data /////
       
   680 ///// Request arrives as a single chunk /////
       
   681 ///// No entity body in the request /////
       
   682 //////////////////////////////////////////////////////////////////////////////////////////
       
   683 [REQUEST_PARSER_TEST_11]
       
   684 DataChunk1			= M-SEARCH * HTTP/1.1\r\nHost:239.255.255.250:1900\r\nST:urn:schemas-upnp-org:device:InternetGatewayDevice:1\r\nMan:"ssdp:discover"\r\nMX:3\r\n\r\n
       
   685 ParseExcessData		= EFalse
       
   686 ExpectedRequests		= 1
       
   687 DataChunkCount		= 1
       
   688 
       
   689 
       
   690 //////////////////////////////////////////////////////////////////////////////////////////
       
   691 ///// Parsing 2 M-Search request /////
       
   692 ///// Second request present as excess data of the first /////
       
   693 ///// Request arrives in multiple chunks /////
       
   694 ///// No entity body in the request /////
       
   695 //////////////////////////////////////////////////////////////////////////////////////////
       
   696 [REQUEST_PARSER_TEST_12]
       
   697 DataChunk1			= M-SEARCH * HTTP/
       
   698 DataChunk2             = 1.1\r\nHost:239.255.255.250:1900\r\nST:urn:schema
       
   699 DataChunk3             = s-upnp-org:device:InternetGatewayDevice:1\r\nMan:"ss
       
   700 DataChunk4             = dp:discover"\r\nMX:3\r\n\r\nM-SEARCH * HTTP/1.1\r\nHost:
       
   701 DataChunk5             = 239.255.255.250:1900\r\nST:urn:schemas-upnp-org:device:In
       
   702 DataChunk6             = ternetGatewayDevice:1\r\nMan:"ssdp:discover"\r\nMX:3\r\n\r\n
       
   703 ParseExcessData		= ETrue
       
   704 ExpectedRequests		= 2
       
   705 DataChunkCount		= 6
       
   706 
       
   707 
       
   708 //////////////////////////////////////////////////////////////////////////////////////////
       
   709 ///// Parsing 1 M-Search request /////
       
   710 ///// Presece of excess data which is not parsed /////
       
   711 ///// Request arrives in multiple chunks /////
       
   712 ///// No entity body in the request /////
       
   713 //////////////////////////////////////////////////////////////////////////////////////////
       
   714 [REQUEST_PARSER_TEST_13]
       
   715 DataChunk1			= M-SEARCH * HTTP/
       
   716 DataChunk2             = 1.1\r\nHost:239.255.255.250:1900\r\nST:urn:schema
       
   717 DataChunk3             = s-upnp-org:device:InternetGatewayDevice:1\r\nMan:"ss
       
   718 DataChunk4             = dp:discover"\r\nMX:3\r\n\r\nBODYM-SEARCH * HTTP/1.1\r\nHost:239.255.255.250:1900\r\nST:urn:schemas-upnp-org:device:InternetGatewayDevice:1\r\nMan:"ssdp:discover"\r\nMX:3\r\n\r\n
       
   719 ParseExcessData		= EFalse
       
   720 ExpectedRequests		= 1
       
   721 DataChunkCount		= 4
       
   722 
       
   723 
       
   724 //////////////////////////////////////////////////////////////////////////////////////////
       
   725 ///// Parsing 1 M-Search request /////
       
   726 ///// No excess data /////
       
   727 ///// Request arrives as a single chunk /////
       
   728 ///// Presense of entity body must be reported with KErrCorrupt /////
       
   729 //////////////////////////////////////////////////////////////////////////////////////////
       
   730 [REQUEST_PARSER_TEST_14]
       
   731 DataChunk1			= M-SEARCH * HTTP/1.1\r\nHost:239.255.255.250:1900\r\nST:urn:schemas-upnp-org:device:InternetGatewayDevice:1\r\nMan:"ssdp:discover"\r\nMX:3\r\nContent-length: 4\r\n\r\nBODY
       
   732 ParseExcessData		= EFalse
       
   733 ExpectedRequests		= 1
       
   734 DataChunkCount		= 1
       
   735 
       
   736 
       
   737 //////////////////////////////////////////////////////////////////////////////////////////
       
   738 ///// Parsing 1 Notify request /////
       
   739 ///// No excess data /////
       
   740 ///// Request arrives as a single chunk /////
       
   741 ///// No entity body in the request /////
       
   742 //////////////////////////////////////////////////////////////////////////////////////////
       
   743 [REQUEST_PARSER_TEST_15]
       
   744 DataChunk1			= NOTIFY * HTTP/1.1\r\nNT: upnp:rootdevice\r\nUSN: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc::upnp:rootdevice\r\nNTS: ssdp:alive\r\nHOST: 239.255.255.250:1900\r\nContent-Length: 0\r\n\r\n
       
   745 ParseExcessData		= EFalse
       
   746 ExpectedRequests		= 1
       
   747 DataChunkCount		= 1
       
   748 
       
   749 
       
   750 //////////////////////////////////////////////////////////////////////////////////////////
       
   751 ///// Parsing 1 Notify request /////
       
   752 ///// Presence of excess data which is not parsed /////
       
   753 ///// Request arrives as multiple chunks /////
       
   754 ///// No entity body in the request /////
       
   755 //////////////////////////////////////////////////////////////////////////////////////////
       
   756 [REQUEST_PARSER_TEST_16]
       
   757 DataChunk1			= NOTIFY * HTTP/1.1\r\nNT: upnp:rootdevice\r\nUSN: uuid:0ad5fcb2-5
       
   758 DataChunk2             = 546-42c1-bf8e-e7583a9247bc::upnp:rootdevice\r\nNTS: ssdp
       
   759 DataChunk3             = :alive\r\nHOST: 239.255.255.250:1900\r\nConte
       
   760 DataChunk4             = nt-Length: 0\r\n\r\nNOTIFY * HTTP
       
   761 DataChunk5             = /1.1\r\nNT: upnp:rootdevice\r\nUSN: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc::upnp:rootdevice\r\nNTS: ssdp:alive
       
   762 DataChunk6             = \r\nHOST: 239.255.255.250:1900\r\nContent-Length: 0\r\n\r\n
       
   763 ParseExcessData		= EFalse
       
   764 ExpectedRequests		= 1
       
   765 DataChunkCount		= 6
       
   766 
       
   767 
       
   768 //////////////////////////////////////////////////////////////////////////////////////////
       
   769 ///// Parsing 2 Notify request /////
       
   770 ///// Presence of excess data which is parsed /////
       
   771 ///// Request arrives as multiple chunks /////
       
   772 ///// No entity body in the request /////
       
   773 //////////////////////////////////////////////////////////////////////////////////////////
       
   774 [REQUEST_PARSER_TEST_17]
       
   775 DataChunk1			= NOTIFY * HTTP/1.1\r\nNT: upnp:rootdevice\r\nUSN: uuid:0ad5fcb2-5
       
   776 DataChunk2             = 546-42c1-bf8e-e7583a9247bc::upnp:rootdevice\r\nNTS: ssdp
       
   777 DataChunk3             = :alive\r\nHOST: 239.255.255.250:1900\r\nConte
       
   778 DataChunk4             = nt-Length: 0\r\n\r\nNOTIFY * HTTP
       
   779 DataChunk5             = /1.1\r\nNT: upnp:rootdevice\r\nUSN: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc::upnp:rootdevice\r\nNTS: ssdp:alive
       
   780 DataChunk6             = \r\nHOST: 239.255.255.250:1900\r\nContent-Length: 0\r\n\r\n
       
   781 ParseExcessData		= ETrue
       
   782 ExpectedRequests		= 2
       
   783 DataChunkCount		= 6
       
   784 
       
   785 
       
   786 //////////////////////////////////////////////////////////////////////////////////////////
       
   787 ///// Parsing a simple SUBSCRIBE request /////
       
   788 ///// No entity body in the request /////
       
   789 //////////////////////////////////////////////////////////////////////////////////////////
       
   790 [REQUEST_PARSER_TEST_18]
       
   791 DataChunk1              = SUBSCRIBE /_urn:upnp-org:serviceId:DimmingService.0001_event HTTP/1.1\r\nNT:  upn
       
   792 DataChunk2              = p:event\r\nTIMEOUT:  Sec
       
   793 DataChunk3              = ond-300\r\nHOST:  10.192.204.79:61447\r\nCallback:  <http://10.192.204.79:8
       
   794 DataChunk4              = 217/2ab3bfa7-31a5-4a9b-b229-171d3f89e103/urn:upnp-org:serviceId:DimmingService.0001>\r\nContent-Length: 0\r\n\r\n
       
   795 ParseExcessData     = EFalse
       
   796 ExpectedRequests		= 1
       
   797 DataChunkCount		= 4
       
   798 
       
   799 
       
   800 //////////////////////////////////////////////////////////////////////////////////////////
       
   801 ///// Parsing 2 simple SUBSCRIBE requests /////
       
   802 ///// Presence of excess data which is parsed /////
       
   803 ///// No entity body in the request /////
       
   804 //////////////////////////////////////////////////////////////////////////////////////////
       
   805 [REQUEST_PARSER_TEST_19]
       
   806 DataChunk1              = SUBSCRIBE /_urn:upnp-org:serviceId:DimmingService.0001_event HTTP/1.1\r\n
       
   807 DataChunk2              = NT:  upnp:event\r\nTIMEOUT:  Sec
       
   808 DataChunk3              = ond-300\r\nHOST:  10.192.204.79:61447\r\nCALLBACK:  <http://10.192.204.79:8
       
   809 DataChunk4              = 217/2ab3bfa7-31a5-4a9b-b229-171d3f89e103/urn:upnp-org:serviceId:DimmingService.0001>\r\nContent-Length: 0\r\n\r\nSUBSCRIBE /_urn:upnp-org:serviceId:DimmingService.0001_event HTTP/1.1\r\n
       
   810 DataChunk5              = NT:  upnp:event\r\nTIMEOUT:  Sec
       
   811 DataChunk6              = ond-300\r\nHOST:  10.192.204.79:61447\r\nCALLBACK:  <http://10.192.204.79:8
       
   812 DataChunk7              = 217/2ab3bfa7-31a5-4a9b-b229-171d3f89e103/urn:upnp-org:serviceId:DimmingService.0001>\r\nContent-Length: 0\r\n\r\n
       
   813 ParseExcessData     = ETrue
       
   814 ExpectedRequests		= 2
       
   815 DataChunkCount		= 7
       
   816 
       
   817 
       
   818 //////////////////////////////////////////////////////////////////////////////////////////
       
   819 ///// Parsing a simple UNSUBSCRIBE request /////
       
   820 ///// No entity body in the request /////
       
   821 //////////////////////////////////////////////////////////////////////////////////////////
       
   822 [REQUEST_PARSER_TEST_20]
       
   823 DataChunk1              = UNSUBSCRIBE /_urn:upnp-org:serviceId:DimmingService.0001_event HTTP/1.1\r\nSID:  uu
       
   824 DataChunk2              = id:2ab3bfa7-31a5-4a9b-b229-171d3f89e103-urn:upnp-org:serviceId:DimmingServ
       
   825 DataChunk3              = ice.0001-1\r\nHOST:  10.192.204.79:61447\r\nContent-Length: 0\r\n\r\n
       
   826 ParseExcessData      = EFalse
       
   827 ExpectedRequests		= 1
       
   828 DataChunkCount		= 3
       
   829 
       
   830 
       
   831 //////////////////////////////////////////////////////////////////////////////////////////
       
   832 ///// Parsing 2 simple UNSUBSCRIBE requests /////
       
   833 ///// Presence of excess data which is parsed /////
       
   834 ///// No entity body in the request /////
       
   835 //////////////////////////////////////////////////////////////////////////////////////////
       
   836 [REQUEST_PARSER_TEST_21]
       
   837 DataChunk1              = UNSUBSCRIBE /_urn:upnp-org:serviceId:DimmingService.0001_event HTTP/1.1\r\nSID:  uu
       
   838 DataChunk2              = id:2ab3bfa7-31a5-4a9b-b229-171d3f89e103-urn:upnp-org:serviceId:DimmingServ
       
   839 DataChunk3              = ice.0001-1\r\nHOST:  10.192.204.79:61447\r\nContent-Length: 0\r\n\r\nUNSUBSCRIBE /_urn:upnp-org:serviceId:DimmingService.0001_event HTTP/1.1\r\nSID:  uu
       
   840 DataChunk4              = id:2ab3bfa7-31a5-4a9b-b229-171d3f89e103-urn:upnp-org:serviceId:DimmingServ
       
   841 DataChunk5              = ice.0001-1\r\nHOST:  10.192.204.79:61447\r\nContent-Length: 0\r\n\r\n
       
   842 ParseExcessData     = ETrue
       
   843 ExpectedRequests		= 2
       
   844 DataChunkCount		= 5
       
   845 
       
   846 
       
   847 //////////////////////////////////////////////////////////////////////////////////////////
       
   848 ///// Parsing a single simple request /////
       
   849 ///// Missing version /////
       
   850 //////////////////////////////////////////////////////////////////////////////////////////
       
   851 [REQUEST_PARSER_TEST_22]
       
   852 DataChunk1			= GET /index.html \r\nHost: www.cricinfo.com\r\nUser-Agent: UpnpMessageTest\r\nAccept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n\r\n
       
   853 ParseExcessData		= EFalse
       
   854 ExpectedRequests		= 1
       
   855 DataChunkCount		= 1
       
   856 
       
   857 
       
   858 //////////////////////////////////////////////////////////////////////////////////////////
       
   859 ///// Parsing a single simple request /////
       
   860 ///// Missing / in version /////
       
   861 //////////////////////////////////////////////////////////////////////////////////////////
       
   862 [REQUEST_PARSER_TEST_23]
       
   863 DataChunk1			= GET /index.html HTTP1.1\r\nHost: www.cricinfo.com\r\nUser-Agent: UpnpMessageTest\r\nAccept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n\r\n
       
   864 ParseExcessData		= EFalse
       
   865 ExpectedRequests		= 1
       
   866 DataChunkCount		= 1
       
   867 
       
   868 
       
   869 
       
   870 
       
   871 ///////////////////////////////////////////////////////////////////////////////
       
   872 //////////////// ***** Response Composer Test ***** ////////////////
       
   873 ///////////////////////////////////////////////////////////////////////////////
       
   874 
       
   875 ///////////////////////////////////////////////////////////////////////////////
       
   876 ///// Compose a simple response /////
       
   877 ///// Only 2 headers and no multiple values /////
       
   878 ///// No parameters for the headers /////
       
   879 ///////////////////////////////////////////////////////////////////////////////
       
   880 [RESPONSE_COMPOSER_TEST_1]
       
   881 ResponseStatusCode	= 200
       
   882 ResponseStatusText	= Ok
       
   883 NoOfHdrValPairs		= 3
       
   884 HeaderValuePair1		= Accept: text/xml
       
   885 HeaderValuePair2		= User-Agent: UpnpMessageTest
       
   886 HeaderValuePair3		= Content-Length: 0
       
   887 NoOfHdrParamValPairs	= 0
       
   888 ResponseBodyPresence	= EFalse
       
   889 
       
   890 
       
   891 ///////////////////////////////////////////////////////////////////////////////
       
   892 ///// Compose a simple response /////
       
   893 ///// 6 headers and no multiple values /////
       
   894 ///// No parameters for the headers /////
       
   895 ///////////////////////////////////////////////////////////////////////////////
       
   896 [RESPONSE_COMPOSER_TEST_2]
       
   897 ResponseStatusCode	= 200
       
   898 ResponseStatusText	= Ok
       
   899 NoOfHdrValPairs		= 6
       
   900 HeaderValuePair1		= Server: Apache/2.2.3
       
   901 HeaderValuePair2		= Accept-Ranges: bytes
       
   902 HeaderValuePair3		= Connection: close
       
   903 HeaderValuePair4		= Content-Type: text/html
       
   904 HeaderValuePair5		= Content-Encoding: gzip
       
   905 HeaderValuePair6		= Content-Length: 0
       
   906 NoOfHdrParamValPairs	= 0
       
   907 ResponseBodyPresence	= EFalse
       
   908 
       
   909 
       
   910 ///////////////////////////////////////////////////////////////////////////////
       
   911 ///// Compose a simple response /////
       
   912 ///// 5 headers and with multiple values /////
       
   913 ///// Some headers have parameters /////
       
   914 ///////////////////////////////////////////////////////////////////////////////
       
   915 [RESPONSE_COMPOSER_TEST_3]
       
   916 ResponseStatusCode	= 200
       
   917 ResponseStatusText	= Ok
       
   918 NoOfHdrValPairs		= 5
       
   919 HeaderValuePair1		= Server: Apache/2.2.3
       
   920 HeaderValuePair2		= Accept-Ranges: bytes
       
   921 HeaderValuePair3		= Connection: close
       
   922 HeaderValuePair4		= Content-Type: text/html
       
   923 HeaderValuePair5		= Content-Length: 0
       
   924 NoOfHdrParamValPairs	= 1
       
   925 HeaderParamValPair1	= Content-Type: charset=ISO-8859-1 @0
       
   926 ResponseBodyPresence	= EFalse
       
   927 
       
   928 
       
   929 ///////////////////////////////////////////////////////////////////////////////
       
   930 ///// Compose a simple response /////
       
   931 ///// 5 headers and with multiple values /////
       
   932 ///// Some headers have parameters /////
       
   933 ///// Response has content-Length > 0 & a body/////
       
   934 ///////////////////////////////////////////////////////////////////////////////
       
   935 [RESPONSE_COMPOSER_TEST_4]
       
   936 ResponseStatusCode	= 200
       
   937 ResponseStatusText	= Ok
       
   938 NoOfHdrValPairs		= 5
       
   939 HeaderValuePair1		= Server: Apache/2.2.3
       
   940 HeaderValuePair2		= Accept-Ranges: bytes
       
   941 HeaderValuePair3		= Connection: close
       
   942 HeaderValuePair4		= Content-Type: text/html
       
   943 HeaderValuePair5		= Content-Length: 1545
       
   944 NoOfHdrParamValPairs	= 1
       
   945 HeaderParamValPair1	= Content-Type: charset=ISO-8859-1 @0
       
   946 ResponseBodyPresence	= ETrue
       
   947 Body					= <?xml version="1.0" encoding="utf-8"?><!-- 	spec version order changed.--><scpd xmlns="urn:schemas-upnp-org:service-1-0">   <specVersion>      <minor>0</minor>      <major>1</major>   </specVersion>   <actionList>      <action>         <name>UpdateObject</name>         <argumentList>            <argument>               <name>ObjectID</name>               <direction>in</direction>               <relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable>            </argument>            <argument>               <name>CurrentTagValue</name>               <direction>in</direction>               <relatedStateVariable>A_ARG_TYPE_TagValueList</relatedStateVariable>            </argument>            <argument>               <name>NewTagValue</name>               <direction>in</direction>               <relatedStateVariable>A_ARG_TYPE_TagValueList</relatedStateVariable>            </argument>         </argumentList>      </action>   </actionList>   <serviceStateTable>      <stateVariable sendEvents="no">         <name>A_ARG_TYPE_TransferStatus</name>         <dataType>string</dataType>         <allowedValueList>            <allowedValue>COMPLETED</allowedValue>            <allowedValue>ERROR</allowedValue>            <allowedValue>IN_PROGRESS</allowedValue>            <allowedValue>STOPPED</allowedValue>         </allowedValueList>      </stateVariable>      <stateVariable sendEvents="no">         <name>A_ARG_TYPE_TransferTotal</name>         <dataType>string</dataType>      </stateVariable>   </serviceStateTable></scpd>
       
   948 
       
   949 
       
   950 
       
   951 
       
   952 ///////////////////////////////////////////////////////////////////////////////
       
   953 //////////////// ***** Codec Tests ***** ////////////////
       
   954 ///////////////////////////////////////////////////////////////////////////////
       
   955 
       
   956 ///////////////////////////////////////////////////////////////////////////////
       
   957 ///// Testing functionality with request headers /////
       
   958 ///////////////////////////////////////////////////////////////////////////////
       
   959 [CODEC_TEST_1]
       
   960 RequestHeader		= ETrue
       
   961 NoOfHdrValPairs		= 10
       
   962 HeaderValuePair1		= NTS: ssdp:alive
       
   963 HeaderValuePair2		= NT: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc
       
   964 HeaderValuePair3		= USN: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc
       
   965 HeaderValuePair4		= ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
       
   966 HeaderValuePair5		= Timeout: Second-1800
       
   967 HeaderValuePair6		= MX: 300
       
   968 HeaderValuePair7		= SEQ: 4294
       
   969 HeaderValuePair8		= MAN: "ssdp:discover";ns=01;ns=;ns
       
   970 HeaderValuePair9		= SOAPACTION: "some:value:soap:09"
       
   971 HeaderValuePair10		= Callback: <123.234.345.456:7890><098.876.765.543.4321><102.394.587.601:2938>
       
   972 
       
   973 
       
   974 ///////////////////////////////////////////////////////////////////////////////
       
   975 ///// Testing functionality with response headers /////
       
   976 ///////////////////////////////////////////////////////////////////////////////
       
   977 [CODEC_TEST_2]
       
   978 RequestHeader		= EFalse
       
   979 NoOfHdrValPairs		= 5
       
   980 HeaderValuePair1		= ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
       
   981 HeaderValuePair2		= USN: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc
       
   982 HeaderValuePair3		= Timeout: Second-1800
       
   983 HeaderValuePair4		= EXT:
       
   984 HeaderValuePair5		= SID: uuid:2ab3bfa7-31a5-4a9b-b229-171d3f89e103-urn:upnp-org:serviceId:DimmingService.0001-1
       
   985 
       
   986 
       
   987 ///////////////////////////////////////////////////////////////////////////////
       
   988 ///// Testing functionality with request headers /////
       
   989 ///// These headers connot have more than one value /////
       
   990 ///// Only the 1st occurance of header/value is considered /////
       
   991 ///////////////////////////////////////////////////////////////////////////////
       
   992 [CODEC_TEST_3]
       
   993 RequestHeader		= ETrue
       
   994 NoOfHdrValPairs		= 18
       
   995 HeaderValuePair1		= NTS: ssdp:alive
       
   996 HeaderValuePair2		= NT: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc
       
   997 HeaderValuePair3		= USN: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc
       
   998 HeaderValuePair4		= ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
       
   999 HeaderValuePair5		= Timeout: infinite
       
  1000 HeaderValuePair6		= MX: 300
       
  1001 HeaderValuePair7		= SEQ: 4294
       
  1002 HeaderValuePair8		= MAN: "ssdp:discover"
       
  1003 HeaderValuePair9		= SOAPACTION: "some:value:soap:09"
       
  1004 HeaderValuePair10		= NTS: ssdp:alive
       
  1005 HeaderValuePair11		= NT: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc2
       
  1006 HeaderValuePair12		= USN: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc2
       
  1007 HeaderValuePair13		= Timeout: Second-1800
       
  1008 HeaderValuePair14		= MX: 3002
       
  1009 HeaderValuePair15		= SEQ: 42942
       
  1010 HeaderValuePair16		= MAN: "ssdp:discover"
       
  1011 HeaderValuePair17		= SOAPACTION: "some2:value2:soap2:092"
       
  1012 HeaderValuePair18		= ST: urn:schemas-upnp-org:device:InternetGatewayDevice:2
       
  1013 
       
  1014 
       
  1015 ///////////////////////////////////////////////////////////////////////////////
       
  1016 ///// Testing functionality with response headers /////
       
  1017 ///// These headers connot have more than one value /////
       
  1018 ///// Only the 1st occurance of header/value is considered /////
       
  1019 ///////////////////////////////////////////////////////////////////////////////
       
  1020 [CODEC_TEST_4]
       
  1021 RequestHeader		= EFalse
       
  1022 NoOfHdrValPairs		= 12
       
  1023 HeaderValuePair1		= ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
       
  1024 HeaderValuePair2		= USN: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc
       
  1025 HeaderValuePair3		= Timeout: infinite
       
  1026 HeaderValuePair4		= SID: uuid:2ab3bfa7-31a5-4a9b-b229-171d3f89e103-urn:upnp-org:serviceId:DimmingService.0001-2
       
  1027 HeaderValuePair5		= ST: urn:schemas-upnp-org:device:InternetGatewayDevice:2
       
  1028 HeaderValuePair6		= USN: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc2
       
  1029 HeaderValuePair7		= Timeout: Second-1800
       
  1030 HeaderValuePair8		= SID: uuid:2ab3bfa7-31a5-4a9b-b229-171d3f89e103-urn:upnp-org:serviceId:DimmingService.0001-1
       
  1031 HeaderValuePair9		= Callback: 
       
  1032 HeaderValuePair10		= MX: .5
       
  1033 HeaderValuePair11		= SEQ: 
       
  1034 HeaderValuePair12		= MAN: ;
       
  1035 
       
  1036 
       
  1037 ///////////////////////////////////////////////////////////////////////////////
       
  1038 ///// Testing functionality with request headers /////
       
  1039 ///////////////////////////////////////////////////////////////////////////////
       
  1040 [CODEC_TEST_5]
       
  1041 RequestHeader		= ETrue
       
  1042 NoOfHdrValPairs		= 12
       
  1043 HeaderValuePair1		= NTS: ssdp:alive
       
  1044 HeaderValuePair2		= NT: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc
       
  1045 HeaderValuePair3		= USN: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc
       
  1046 HeaderValuePair4		= ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
       
  1047 HeaderValuePair5		= Timeout: 1800
       
  1048 HeaderValuePair6		= MX: 300
       
  1049 HeaderValuePair7		= SEQ: 4294
       
  1050 HeaderValuePair8		= Callback: 123.234.345.456:7890
       
  1051 HeaderValuePair9		= SOAPACTION: some:value:soap:09
       
  1052 HeaderValuePair10		= MAN: ssdp:discover
       
  1053 HeaderValuePair11		= SID: uuid:2ab3bfa7-31a5-4a9b-b229-171d3f89e103-urn:upnp-org:serviceId:DimmingService.0001-2
       
  1054 HeaderValuePair12		= EXT:
       
  1055 
       
  1056 
       
  1057 ///////////////////////////////////////////////////////////////////////////////
       
  1058 ///// Testing functionality with request headers /////
       
  1059 ///// These headers connot have more than one value /////
       
  1060 ///// Only 1st occurance of some header/value is considered /////
       
  1061 ///////////////////////////////////////////////////////////////////////////////
       
  1062 [CODEC_TEST_6]
       
  1063 RequestHeader		= ETrue
       
  1064 NoOfHdrValPairs		= 20
       
  1065 HeaderValuePair1		= NTS: ssdp:alive
       
  1066 HeaderValuePair2		= NT: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc
       
  1067 HeaderValuePair3		= USN: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc
       
  1068 HeaderValuePair4		= ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
       
  1069 HeaderValuePair5		= Timeout: -2147483647
       
  1070 HeaderValuePair6		= MX: 300
       
  1071 HeaderValuePair7		= SEQ: 4294
       
  1072 HeaderValuePair8		= Callback: 123.234.345.456:7890
       
  1073 HeaderValuePair9		= SOAPACTION: some:value:soap:09
       
  1074 HeaderValuePair10		= NTS: ssdp:alive
       
  1075 HeaderValuePair11		= NT: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc2
       
  1076 HeaderValuePair12		= USN: uuid:0ad5fcb2-5546-42c1-bf8e-e7583a9247bc2
       
  1077 HeaderValuePair13		= Timeout: 1800
       
  1078 HeaderValuePair14		= MX: 3002
       
  1079 HeaderValuePair15		= SEQ: 42942
       
  1080 HeaderValuePair16		= Callback: 098.876.765.543.4321
       
  1081 HeaderValuePair17		= SOAPACTION: some2:value2:soap2:092
       
  1082 HeaderValuePair18		= ST: urn:schemas-upnp-org:device:InternetGatewayDevice:2
       
  1083 HeaderValuePair19      = MAN: ssdp:discover
       
  1084 HeaderValuePair20      = MAN: ssdp:discover2
       
  1085 
       
  1086 
       
  1087 [TEST_COVERAGE]