-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Header correction in execOTA function #20
Comments
I have made the change could you please test |
Tested. Works! Great quick fix! |
According to rfc2616
I would suggest using |
I had an simmilar error but mine was fixed with having "Content-Type: " insted of "Content-type: ". So I made little change in the condition on line 94 in esp32fota.cpp file to instead of |
I also have the same issue. |
@Dharmik-Bhavani can you please submit a PR? |
Hi, execOTA() function I noticed a typo that causes error when downloading the binary file.
The part reading the headers is checking if the line starts with "Content-Type: " where it should be "Content-type: ". Making this change fixed my program.
The text was updated successfully, but these errors were encountered: