julianxhokaxhiu / LineageOTA

A simple OTA REST Server for LineageOS OTA Updater System Application
http://blog.julianxhokaxhiu.com/how-the-cm-ota-server-works-and-how-to-implement-and-use-ours
MIT License
221 stars 132 forks source link

Add detection of HTTP_X_FORWARDED_* headers #57

Closed ionphractal closed 4 years ago

ionphractal commented 4 years ago

Many http server/proxies don't support the http forwarded extension but use X-FORWARED-* headers. This PR adds support for them. See also mentioned issue.

julianxhokaxhiu commented 4 years ago

Thank you!