Skip to content
This repository was archived by the owner on Nov 14, 2018. It is now read-only.
This repository was archived by the owner on Nov 14, 2018. It is now read-only.

Sessions can be started over HTTPS now #15

@oxy

Description

@oxy

@make_android_api_method(METHOD_POST, False)
def start_session(self, response):
"""
This is the only method that doesn't go over HTTPS (for some reason). Must
be called before anything else or you get an "unauthorized request" error.
I don't know what the duration param does in any of these methods
@param int duration (optional)
"""
self._state_params['session_id'] = response['session_id']
self._state_params['country_code'] = response['country_code']

I just tested a modified version, and sessions can now be started over HTTPS, leaving no more necessity for keeping it insecure (HTTP).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions