port mlia to requests using fmylife code