BLIP/BLIPTest.m
changeset 6 bceeeabb8c34
parent 1 8267d5c429c4
child 8 6f539dd9921c
     1.1 --- a/BLIP/BLIPTest.m	Sat May 24 13:26:02 2008 -0700
     1.2 +++ b/BLIP/BLIPTest.m	Sun May 25 12:33:50 2008 -0700
     1.3 @@ -162,7 +162,7 @@
     1.4  - (void) connection: (BLIPConnection*)connection receivedRequest: (BLIPRequest*)request
     1.5  {
     1.6      Log(@"***** %@ received %@",connection,request);
     1.7 -    [request respondWithData: request.body];
     1.8 +    [request respondWithData: request.body contentType: request.contentType];
     1.9  }
    1.10  
    1.11  - (void) connection: (BLIPConnection*)connection receivedResponse: (BLIPResponse*)response
    1.12 @@ -307,7 +307,7 @@
    1.13      AssertEqual([request valueOfProperty: @"User-Agent"], @"BLIPConnectionTester");
    1.14      AssertEq([[request valueOfProperty: @"Size"] intValue], size);
    1.15  
    1.16 -    [request respondWithData: body];
    1.17 +    [request respondWithData: body contentType: request.contentType];
    1.18  }
    1.19  
    1.20