Does WiCED support the "chunked transfer encoding " function ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
KoSa_1909416
Level 5
Level 5
Distributor - Marubun (Japan)
250 sign-ins 25 replies posted First solution authored

Hi All,

I understood that "chunked encoding response" is not implemented by the following thread.
https://community.cypress.com/message/223831#223831

       Doesn't it support whole Chunked Transfer Encoding ?
       Or Does it support the request ?

Best Regards,
       Sakagami

0 Likes
1 Solution
KotnaniK_71
Employee
Employee
50 likes received 25 likes received 10 likes received

Dear Sakagami san,

WICED supports the Chunked Transfer encoding function and it is also implemented for HTTP server. Please find the same from the 43xxx_Wi-Fi/apps/snip/https_server & 43xxx_Wi-Fi/apps/snip/http_server_sent_events apps in the WICED.

For chunked transfer encoding implementation, WICED 6.2.1 supports TCP stream APIs to receive and send large chunks of data reliably as payload exceeds MTU size. For HTTP_client, we haven't implemented the chunked transfer encoding because of lack of easy-to-use TCP stream APIs and also some of the protocols have limited their send/receive capabilities of MTU size. For those protocols, receiving or sending any protocol frame greater than MTU size is not possible.

Please find below blog TCP stream API  which describes about TCP stream APIs and you can check WICED API reference guide for TCP stream APIs.

Thanks.

View solution in original post

0 Likes
1 Reply
KotnaniK_71
Employee
Employee
50 likes received 25 likes received 10 likes received

Dear Sakagami san,

WICED supports the Chunked Transfer encoding function and it is also implemented for HTTP server. Please find the same from the 43xxx_Wi-Fi/apps/snip/https_server & 43xxx_Wi-Fi/apps/snip/http_server_sent_events apps in the WICED.

For chunked transfer encoding implementation, WICED 6.2.1 supports TCP stream APIs to receive and send large chunks of data reliably as payload exceeds MTU size. For HTTP_client, we haven't implemented the chunked transfer encoding because of lack of easy-to-use TCP stream APIs and also some of the protocols have limited their send/receive capabilities of MTU size. For those protocols, receiving or sending any protocol frame greater than MTU size is not possible.

Please find below blog TCP stream API  which describes about TCP stream APIs and you can check WICED API reference guide for TCP stream APIs.

Thanks.

0 Likes