aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/LowLevel/RNDISEthernet/Lib/Webserver.c
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2010-01-21 13:45:44 +0000
committerDean Camera <[email protected]>2010-01-21 13:45:44 +0000
commit03ee87b35abdb8b92e8b55ec040fa943f9a6786c (patch)
treef6afd9650084eae3f0c92f47c6f205694168ad32 /Demos/Device/LowLevel/RNDISEthernet/Lib/Webserver.c
parent41ad6bd6d7e886412f6c12d98f040e51c3ee4fdf (diff)
downloadqmk_firmware-03ee87b35abdb8b92e8b55ec040fa943f9a6786c.tar.gz
qmk_firmware-03ee87b35abdb8b92e8b55ec040fa943f9a6786c.zip
Fix up the incomplete Webserver project so that it integrates with the uIP stack correctly. Add simple HTTP webserver as a placeholder until FatFS can be integrated.
Begin to look into the RNDIS Host Class Driver, which seems to crash on test hardware after many packets have been received.
Diffstat (limited to 'Demos/Device/LowLevel/RNDISEthernet/Lib/Webserver.c')
-rw-r--r--Demos/Device/LowLevel/RNDISEthernet/Lib/Webserver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/Webserver.c b/Demos/Device/LowLevel/RNDISEthernet/Lib/Webserver.c
index bf67b5d3a6..7ba1928818 100644
--- a/Demos/Device/LowLevel/RNDISEthernet/Lib/Webserver.c
+++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/Webserver.c
@@ -44,6 +44,9 @@ char PROGMEM HTTP200Header[] = "HTTP/1.1 200 OK\r\n"
"Content-type: text/html\r\n"
"Connection: close\r\n\r\n";
+/** HTTP server response header, for transmission before a resource not found error. This indicates to the host that the given
+ * given URL is invalid, and gives extra error information.
+ */
char PROGMEM HTTP404Header[] = "HTTP/1.1 404 Not Found\r\n"
"Server: LUFA RNDIS\r\n"
"Connection: close\r\n\r\n";