This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220MODA: Automatic redirect to long URL link

Guru 16770 points
Part Number: CC3220MODA


Hi

In below link of CC3220-SDK, it is described HTTP client supports Automatic redirect
e2e.ti.com/.../653147

The customer is about to make long URL with their security token and try to redirect to it.
The URL length would possibly be up to 5000 characters.

As a result, status code : 301 is returned after httpget process.

Could it be possible to support long URL at location header with TI SDK?
Or, could you please tell us the way to implement this software specification if you have?

BestRegards

  • Hello,

    The size of the buffer used by the redirect function can be found in httpclient.h and is named HTTPClient_DOMAIN_BUFLEN. You will have to look into the memory usage of your application to know if you have sufficient space to increase the buffer by that amount.

    Best,
    Brandon