Commit Graph

10 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa c1b130acd0 python: Don't raise exception from Session.resume_data()
In practice, Session.resume_data() will be used without checking there
is deferred data or not. Actually, there is no API to check this.  So
it is better not to raise exception. Instead return False to notify
error. If the method succeeds, it returns True.
2012-09-10 22:10:54 +09:00
Tatsuhiro Tsujikawa 6b64276c08 python: add get_npn_protocols() function
get_npn_protocols() is high level wrapper for
spdylay_npn_get_proto_list() and the returned list can be passed to
ssl.SSLContext.set_npn_protocols().
2012-08-27 23:32:27 +09:00
Tatsuhiro Tsujikawa dcba568ff9 python: make assoc_stream_id and stream_user_data in submit_syn_stream optional 2012-08-24 23:34:48 +09:00
Tatsuhiro Tsujikawa bbd8fcc704 python: use unicode for nv pair 2012-08-23 21:21:13 +09:00
Tatsuhiro Tsujikawa 306429e23b python: add read_ctrl to read_cb args to indicate EOF explicitly 2012-08-22 21:48:41 +09:00
Tatsuhiro Tsujikawa 870210e859 python: add Session.submit_window_update() 2012-08-22 02:08:03 +09:00
Tatsuhiro Tsujikawa 396d4a7fae python: add Session.submit_ping() 2012-08-22 01:49:02 +09:00
Tatsuhiro Tsujikawa 7a362e23b3 python: add Session.submit_headers() 2012-08-22 01:41:07 +09:00
Tatsuhiro Tsujikawa 7580c9f671 python: add Session.submit_data() 2012-08-22 01:28:05 +09:00
Tatsuhiro Tsujikawa 6074d91b3f python: add test cases 2012-08-22 01:11:41 +09:00