[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Pulling data from a server using HTTP with lwIP
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Pulling data from a server using HTTP with lwIP |
Date: |
Thu, 13 Nov 2014 12:21:35 +0100 |
Robert Wood wrote:
> Hmmmm. I seem to be wrong, It *does* send out the ACK. I took out these
> lines:
> strcpy(GetString,"GET /index.html HTTP/1.1\r\n");
> netconn_write(xNetConn,GetString,sizeof(GetString),NETCONN_NOCOPY);
As you seem to be trying to implement a HTTP client: are you familiar with the
HTTP protocol? I'm not sure the single line is enough for HTTP 1.1 (it should
be for 0.9), but at least you need a double line-break to inform the server
that this is the end of the HTTP header.
I'd suggest reading a bit more on HTTP.
Simon
- [lwip-users] Pulling data from a server using HTTP with lwIP, Robert Wood, 2014/11/13
- Re: [lwip-users] Pulling data from a server using HTTP with lwIP, Robert Wood, 2014/11/13
- Re: [lwip-users] Pulling data from a server using HTTP with lwIP,
Simon Goldschmidt <=
- Re: [lwip-users] Pulling data from a server using HTTP with lwIP, Robert Wood, 2014/11/13
- Re: [lwip-users] Pulling data from a server using HTTP with lwIP, Simon Goldschmidt, 2014/11/13
- Re: [lwip-users] Pulling data from a server using HTTP with lwIP, Robert Wood, 2014/11/13
- Re: [lwip-users] Pulling data from a server using HTTP with lwIP, Simon Goldschmidt, 2014/11/13
- Re: [lwip-users] Pulling data from a server using HTTP with lwIP, Robert Wood, 2014/11/13
- Re: [lwip-users] Pulling data from a server using HTTP with lwIP, Simon Goldschmidt, 2014/11/13
- Re: [lwip-users] Pulling data from a server using HTTP with lwIP, Robert Wood, 2014/11/13
- Re: [lwip-users] Pulling data from a server using HTTP with lwIP, Simon Goldschmidt, 2014/11/13
- Re: [lwip-users] Pulling data from a server using HTTP with lwIP, Robert Wood, 2014/11/13
- Re: [lwip-users] Pulling data from a server using HTTP with lwIP, Simon Goldschmidt, 2014/11/13