Hi,
I have problem in reading Http heder in Symbian 9.4 (Nokia 5800 XpressMusic). I read HTTP::EContentDisposition to get dowloading file name. In Symbian < 9.4 works fine, and I get content :
"attachment; filename=\"test.sis\""
but in S9.4 I get only:
"attachment"
This is code that I use :
Thx for help.Code:RHTTPResponse resp = aTransaction.Response(); TInt status = resp.StatusCode(); RHTTPHeaders headers = resp.GetHeaderCollection(); RStringPool string_pool = iSession.StringPool(); RStringF contDisposition = string_pool.StringF(HTTP::EContentDisposition, RHTTPSession::GetTable()); THTTPHdrVal tempHdrVal; TInt err = headers.GetField(contDisposition, 0, tempHdrVal); if (err == KErrNone) { RStringF field = tempHdrVal.StrF(); const TDesC8& fieldValDesC = field.DesC(); //... field.Close(); } contDisposition.Close();

maybe this is symbian bug?


