Skip to content

Unable to use http.setAuthorization for ESPhttpUpdate #3812

Closed
@pjunni

Description

@pjunni

I did not find a way to use http.setAuthorization for ESPhttpUpdate, but I solved the issue by adding the line http.setAuthorization("username","password"); on line 181 in https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.cpp. Is there a more "correct" way to do this or could there be an overloaded handleUpdate function that takes these "username" and "password" and pass them into http.setAuthorization("username","password");?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions