I am downloading a audio file . I need to know the total size of the file and also the format of the audio file. Can anyone guide me how to get that

I did this

case THTTPEvent::EGotResponseHeaders:
RHTTPResponse resp = aTransaction.Response();

TInt status = resp.StatusCode();

RHTTPHeaders headerinfo = resp.GetHeaderCollection();
Now in the headerinfo i have functions GetField which i guess will help me in knowing the desired things i.e., the total size of the audio file and its format .But i dont know how to use them .

Can anyone guide me ..suppose i have a audio file a.mp3 on a server then how can i know its total sise and format