Skip to content
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

Origin driver issues: surrogatepass and scheme checking #12

Merged
merged 5 commits into from
Jul 13, 2017

Conversation

litwisha
Copy link
Contributor

@@ -52,7 +52,7 @@ def __init__(
self.verify_certs = verify_certs

self.base_url = URL('http%s://%s:%d%s/' % (
's' if use_ssl else '', host, port, self.url_prefix,
's' if self.use_ssl else '', host, port, self.url_prefix,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В оригинальном драйвере пробрасывается (пруф) scheme. А у нас scheme строится только на основе use_ssl. Это норм?

Copy link
Contributor Author

@litwisha litwisha Jul 12, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@froosty у нас немає своєї логіки побудови scheme, вона інкапсульована в оригінальному драйвері
https://github.com/litwisha/aioelasticsearch/blob/origin-driver-issues/aioelasticsearch/connection.py#L34

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe its better to stick with english guys, its not an inner project.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@a-urth thx, we'll talk to them ;)

@hellysmile hellysmile merged commit a653f5c into aio-libs:master Jul 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants