Seems like I’m being bitten from a iOS vs AWS incompatibility - the trouble is I don’t know how to work around it with minimal hassle (for instance, as a solo developer I don’t want to start modifying the engine code).
More detail from StackOverflow is here
In my case I’m also getting a warning about the “If-None-Match”. I’m going to look at deleting prior content before attempting the upload but it would be nice to know how to suppress these headers.
Looks like the NSMutableURLRequest is private within FAppleHttpRequest so I can’t see how to implement the solution on the SO thread…
FAppleHttpRequest::FAppleHttpRequest()
: Connection(nullptr)
, CompletionStatus(EHttpRequestStatus::NotStarted)
, ProgressBytesSent(0)
, StartRequestTime(0.0)
, ElapsedTime(0.0f)
{
UE_LOG(LogHttp, Verbose, TEXT("FAppleHttpRequest::FAppleHttpRequest()"));
Request = [[NSMutableURLRequest alloc] init];
Request.timeoutInterval = FHttpModule::Get().GetHttpTimeout();
}