Skip to content

Conversation

@tonycpsu
Copy link

  • Add a constructor to the Peri() object that takes a session
    parameter. If supplied, this session object will be used instead of
    creating a new one. My use case is for HTTP proxy support, but
    presumably the caller could change the user agent in some other way if
    they wanted to. If no session param is supplied, one is created, as
    before.

This PR also includes a fix to the username parsing bug from @gavvvr -- I should have probably kept that separate. I can back it out and re-submit if necessary.

gavvvr and others added 2 commits August 12, 2018 17:13
* Add a constructor to the Peri() object that takes a `session`
  parameter.  If supplied, this session object will be used instead of
  creating a new one.  My use case is for HTTP proxy support, but
  presumably the caller could change the user agent in some other way if
  they wanted to.  If no session param is supplied, one is created, as
  before.
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.

2 participants