LP 1463943: Improve Encoding Discovery
authorJason Stephenson <jason@sigio.com>
Tue, 27 Sep 2016 21:36:39 +0000 (17:36 -0400)
committerMartha Driscoll <driscoll@noblenet.org>
Fri, 21 Jul 2017 17:26:46 +0000 (13:26 -0400)
commit18dc1192cde5fbf5321370e66173db620fe78d82
tree8231784e1c3fc50e8ef07bb4cea2e335c8681af3
parent61e610f2523589f91d1e0d5e889634a0c05f0d1b
LP 1463943: Improve Encoding Discovery

Improve the previous commit by looking for the encoding in the
institution implementation config in addition to the account
configuration.  The account configuration is used first, followed by
that from the institution implemenation config.

We also set a convenience field on the server object in the
_load_ils_handler method implementation.  This way, we only need get
the encoding once per session.  Hopefully this is correct with the
multiplex server.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Martha Driscoll <driscoll@noblenet.org>
Sip/MsgType.pm