Changeset 14463

Show
Ignore:
Timestamp:
06/23/08 18:14:30 (5 years ago)
Author:
lyokato
Message:

lang/objective-c/Atompub: fixed bug of BasicCredential?.m

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/objective-c/Atompub/trunk/Classes/BasicCredential.m

    r13814 r14463  
    2424  [ crypto setClearTextWithString:token ]; 
    2525  NSString *token64 = [ [ crypto clearTextAsData ] encodeBase64WithNewlines:NO ]; 
    26   [ request setValue:token64 forHTTPHeaderField:@"Authorization" ]; 
     26  [ request setValue:[ NSString stringWithFormat:@"Basic %@", token64 ] 
     27  forHTTPHeaderField:@"Authorization" ]; 
    2728  [ crypto release ]; 
    2829}