Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SW_HTTPServer by
Diff: SW_HTTPServer.h
- Revision:
- 18:6199558632c0
- Parent:
- 17:69ff00ce39f4
- Child:
- 21:660143f20b04
--- a/SW_HTTPServer.h Thu Sep 05 22:59:27 2013 +0000 +++ b/SW_HTTPServer.h Sat Sep 14 20:36:16 2013 +0000 @@ -77,19 +77,25 @@ /// /// Limitations: /// @li Supports only a single connection at a time. +/// A web page with served objects (img src=...) is rarely served properly. It +/// might trace to forcing the connection to close, but not yet sure. +/// Explore "Set Uart Rx Data Buffer" in WiFly manual 2.3.65. +/// This is a limitation of the Wifly module. No solution is forthcoming, +/// so a simple workaround is to use javascript to load the images after +/// the page loads. /// @li Rapid requests for page objects (e.g. embedded images) are lost. Still /// working to understand this issue. /// +/// Improvements: +/// @li hunted down several lengthy operations - the speed of the file system +/// and the "close" operation which requires <delay 0.25s>$$$<delay>close\r. +/// @li parses the header similar to the query string, and then makes +/// those parameters accessible. +/// @li Added basic password capability to dynamic web pages. +/// /// ToDo: -/// @li A web page with served objects (img src=...) is rarely served properly. It -/// might trace to forcing the connection to close, but not yet sure. -/// Explore "Set Uart Rx Data Buffer" in WiFly manual 2.3.65 -/// @li hunt down lengthy operations - there seems to be a long timeout somewhere. -/// @li parse the header similar to the query string, and then make -/// those parameters accessible - perhaps like environment vars. /// @li move part of the POST method handler to the registered handler, so /// it can decide if it should allocate the needed memory. -/// @li Add password capability to some web pages /// @li transform the pc serial interface to a log interface, which might /// be more useful. /// @li Add ability to put WiFly in AP mode and then configuration pages @@ -104,6 +110,8 @@ /// @li 20130623 Make it non-blocking. "Poll" takes a variable amount /// of time, based on whether it is idle, or how much it /// has to do. +/// @li 20130911 Lots of incremental changes along this way, this update +/// refreshes the documentation. /// /// @note Copyright © 2013 by Smartware Computing, all rights reserved. /// Individuals may use this application for evaluation or non-commercial