I get iStatus == -7331 in the THTTPEvent object of my MHFRunL function. What
does that mean? Does someone know of a complete list of HTTP error codes?
/Joachim
THTTPEvent error codes
joape382 wrote:I get iStatus == -7331 in the THTTPEvent object of my MHFRunL function. What
does that mean? Does someone know of a complete list of HTTP error codes?
/Joachim
The error -7331 is KErrHttpRequestBodyMissing. Look in epoc32\include\httperr.h.
const TInt KErrHttpReqBuildErrorBase = KHttpErrorBase - 130;
const TInt KErrHttpRequestBodyMissing = KErrHttpReqBuildErrorBase - 1;
//A body is missing from a method that requires it
Most propably you have issues with you GetNextDataPart(). Look at my post at NewLC. http://forum.newlc.com/viewtopic.php?t=4829
PS. The error -7361 you get is because of a missing Host field in you HTTP header which is required by HTTP 1.1. Host: www.apple.com
I've got the same problem and I've solve it:
SetHeaderL(hdr, HTTP::EHost, KHost);
If you need the parts of the solution:
http://forum.newlc.com/viewtopic.php?t=4829
If you need error codes:
http://www.newlc.com/article.php3?id_article=117
I'm able to do a multipart/form-data HTTP POST but there are some other issues.
[email][email protected][/email]