Thursday, January 14, 2016

Consult on HTTP HTTP




            


Excuse me, HTTP upload and download resuming mechanism how? My program on the simulator to download files properly, but in the case of a real machine when downloaded to a portion of a file when it stopped often ask how to deal with this situation in general? Also ask if there is an expert to know the difference MHFRunError and THTTPEvent :: EFailed of? Thank you
Reply:
HTTP upload and download resuming mechanism is not complicated.
"When the real machine often the case to a portion of a file download when it stopped," estimate is not really the machine automatically turns off after a certain time-Fi. for reference only.
Reply:
This question should not be, ah, because the other can be connected to ah, thank you for your reply
Reply:
HTTP mechanism requires the landlord to look at the HTTP protocol.

. MHFRunError Called when RunL leaves from a transaction event This works in the same way as CActve :: RunError; return KErrNone if you have handled the error If you do not completely handle the error, a panic will occur
..


THTTPEvent :: EFailed
The transaction has failed. This is a 'catch-all' for communicating failures, and more details of the failure should have been notified in previous messages or status codes. If the client could process these then it is possible that it should not consider the transaction a failure. For instance a browser that displays the body of 404 responses to the user would not consider a 404 response to be a failure, as it would display it just like a 200 response even though a 404 will be flagged as a 'failure '. An incoming event

Reply:
Okay, thank you I see.

No comments:

Post a Comment