AWS server response

Hello,- When my server replies to a POST in the rPExternalCgi with theCgiPtr->fHttpResponse = eRpCgiHttpOk, the data are sent to the client after a 40seconds delay! - When my server replies to a POST in the rPExternalCgi with theCgiPtr->fHttpResponse = eRpCgiHttpNotFound the reply is immediate, but the data are replaced by the default 404 page… - Do I need to fill more than the following ? theCgiPtr->fHttpResponse = eRpCgiHttpOk; theCgiPtr->fResponseState = eRpCgiLastBuffer; theCgiPtr->fDataType = eRpDataTypeXml; theCgiPtr->fResponseBufferLength = strlen(MyBuffer); theCgiPtr->fResponseBufferPtr = MyBuffer; Thanks! A beginner

It seems that when the header of the request was misses some "
" at the end, the packet is correctly processed and answered by the server but the client is kept hanging for a while… Solved with a better client.