Other Parts Discussed in Thread: MSP430FR6879
Hi
We have to solve the following ploblem urgently.
So could you please feedback to us?
SimpleLink CC3220 SDK version 2.30.00.05 is used.
We want to download data from redirect URL.
We use following function declared in httpclient.c, but it fails.
ret = HTTPClient_sendRequest(httpClientHandle,
t_Method, //HTTP_METHOD_GET,
t_Url, //REQUEST_URl,
t_BodyMsg_s, //gsCmdRcvBuffer,
strlen(t_BodyMsg_s), //strlen(gsCmdRcvBuffer),
0);
HTTP status code 301 is obtaiend.
Following errors occur when it connects to redireced URL.
SL_RET_CODE_INVALID_INPUT (-2006)
HTTPClient_ENOTABSOLUTEURI (-3021)
It related to following E2E thread.
Actually, the length of redirected URL is 1019 charcters.
So we extended buffer length as follows.
httpclient.h
//#define HTTPClient_DOMAIN_BUFLEN (100)
#define HTTPClient_DOMAIN_BUFLEN (2084)
Our goal is to download data from redirected URL properly.
Could you please give us your feedback to solve this problem?
BestRegards