cdrx / rancher-gitlab-deploy

Painless deployment of projects built with GitLab CI onto your Rancher infrastructure
MIT License
432 stars 89 forks source link

Fix UnicodeError error, moved to requests session with builtin basic … #37

Closed evilmind closed 6 years ago

evilmind commented 6 years ago

…auth method I've got an error with generated api url

UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or too long)

, whenever i use cli. So i decided to move from clear requests.get on each api call to requests session to use builtin auth methods so we get shorter api url.

cdrx commented 6 years ago

Merged and released as v1.5 -- thank you @evilmind !