arduino-esp32/libraries/HTTPUpdate/examples
sasodoma 219ff3005b
Add missing slashes in HTTPUpdate examples (#4238)
I spent quite a while today figuring out how to get an OTA update over HTTPS on a custom port working. A part of my problem was not putting a slash before the .bin filename, since it wasn't there in the example. This produced invalid HTTP requests. Adding the slash would make it clear that it needs to be there.

Given that the URL in line 53 contains the same words "server" and "file.bin", one might assume that in line 55, the slash after the port number would get added automatically, however I have found out that without a slash you get an invalid request. Adding the slash removes any doubt.
2020-10-03 02:13:27 +03:00
..
httpUpdate Add missing slashes in HTTPUpdate examples (#4238) 2020-10-03 02:13:27 +03:00
httpUpdateSecure Add missing slashes in HTTPUpdate examples (#4238) 2020-10-03 02:13:27 +03:00
httpUpdateSPIFFS Feature/http update (#1979) 2018-11-19 16:57:38 +01:00