Repository navigation
OTA - update documentation example for Apache 2.4 - #9291
Conversation
…al case now, using change case to lower to work with all versions)
|
Possible to merge this? |
|
Wouldn't it also make sense to lowercase any checkheader inputs? i.e. $name -> $name.toLowerCase() (or how it is called within PHP runtime) |
Yup, I was thinking about this. But then I discarded the idea as it would only help in Arduino/doc/ota_updates/readme.rst Lines 649 to 650 in 7d5a4ce as long as we do not implement a get_header() function. But I think as long as it's only an example to show how to implement this, it's just too much.
More detailed information can be found here |
Updated to work with Apache 2.4 (getallheaders() returns keys in pascal case now). Using change case to lower to work with all versions.