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.

HTTP server only 1.0 compliant



Currently the HTTP server built into the TI-RTOS only supports HTTP 1.0. Are there any plans to upgrade this to 1.1?

The reason I ask is because the clients I'm using (Google chrome and Internet explorer) assume the server is 1.1 compliant, therefore it will not open a new connection each time, it will assume the connection has been left open, this causes the css file not to be successfully acquired. 

If there is not currently any plans to upgrade the server, would it be possible for the server to send a transmission as soon as it is connected to a client informing it that it is HTTP 1.0?

TI-RTOS version: 2.10

NDK version: 2.24

Thanks in advance,

James

  • Hi James,

    Adding HTTP 1.1 support is not in the agenda for the near future.  

    James Sleeman said:

    If there is not currently any plans to upgrade the server, would it be possible for the server to send a transmission as soon as it is connected to a client informing it that it is HTTP 1.0?

    The httpSendStatusLine API (<tirtos install dir>/products/<ndk>/packages/ti/ndk/inc/nettools/inc/httpif.h <tirtos install dir>/products/<ndk>/packages/ti/ndk/nettools/http/httpsend.c) prints out the status including the HTTP version "HTTP/1.0".  You can create a CGI function to reply with status.

    Hope this helps,

    -- Emmanuel