1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

7 Commits

Author SHA1 Message Date
E. van Harten
b81ef01ef7 Fix for redirect of HTTP Update, so that it always returns to the root / instead of /update (#3420) 2017-10-15 02:03:28 -05:00
hchahine
1bd1de0286 Removed literal '\n' in ESP8266HTTPUpdateServer response (#3421) 2017-08-07 15:46:47 +03:00
Ivan Grokhotkov
ace0622e46 ESP8266HTTPUpdateServer: fix responses after uploading
- fix response not being delivered to the browser after upload is done
  (https://github.com/esp8266/Arduino/issues/2221)

- if Update.begin fails, don’t attempt to write data

- if update is not successful, send error message from Update to the
  client

- move strings into PROGMEM
2017-05-10 09:49:47 -05:00
Me No Dev
a7ced9cabb make HTTP Update Server more secure (#2104)
* make HTTP Update Server more secure

* added option for authentication
* added option to change the url for upload

* move to overloaded setup

* remove delay in both examples

* Get better result responses

* fix strings

interesting, the meta did not refresh if the successResponse is put in
"R"
2016-06-07 10:09:05 +08:00
Jacques
b7049ed8ee Update ESP8266HTTPUpdateServer.cpp
Redirect browser back to the update page after 15 seconds.
2016-03-02 21:24:42 +00:00
Me No Dev
0063d80c74 "Fix" sketches and libs to use the new upload api 2015-11-19 23:20:03 +02:00
Miguel Angel Ajo
065e1ccb8c Extracted the WebUpdate example into a library.
This ESP8266HTTPUpdateServer can be instantiated and used
more cleanly, it's also able to take or create an ESP8266WebServer
to configure the events and /update handler.

It's been made more robust by handling upload abort, which
depends on fix provided for issue #833
2015-10-01 15:19:02 +02:00