Commit Graph

632 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa fb6ef096c6 python: document urlfetch 2012-08-28 01:47:21 +09:00
Tatsuhiro Tsujikawa b4758b5701 python: renamed uri as url for consistency 2012-08-28 01:46:53 +09:00
Tatsuhiro Tsujikawa 33d35912a5 python: add simple SPDY client function urlfetch() 2012-08-28 00:58:45 +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 4e5e741907 Add spdylay_npn_get_proto_list() public API function.
spdylay_npn_get_proto_list() returns a pointer to the supported SPDY
version list. The element of the list is spdylay_npn_proto struct. It
contains all SPDY version information this library supports. The
application can use this information to configure NPN protocol
offerings/selection.
2012-08-27 23:16:44 +09:00
Tatsuhiro Tsujikawa cc15f4bd89 python: add MANIFEST.in and README.rst 2012-08-25 00:18:17 +09:00
Tatsuhiro Tsujikawa ade401c1f9 python: update setup.py 2012-08-25 00:10:20 +09:00
Tatsuhiro Tsujikawa 9bbd7a8a04 python: add __version__ 2012-08-24 23:35:58 +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 595806a913 python: escape more variable when formatting error_message_format 2012-08-24 23:25:02 +09:00
Tatsuhiro Tsujikawa 9d66fc4b88 python: wrap socket in overridden process_request. 2012-08-24 23:21:36 +09:00
Tatsuhiro Tsujikawa e208305505 python: make all callbacks BaseSPDYRequestHandler's instance method
ssl socket and ssctrl are also instance variable now.
2012-08-24 22:06:50 +09:00
Tatsuhiro Tsujikawa 3120450213 python: return unicode string error message 2012-08-24 21:56:46 +09:00
Tatsuhiro Tsujikawa 27989fe121 python: don't ignore decode exception from cnv2pynv 2012-08-24 21:50:44 +09:00
Tatsuhiro Tsujikawa 45c07bec4d python: set TCP_NODELAY option 2012-08-24 21:22:43 +09:00
Tatsuhiro Tsujikawa 743b2e5584 python: add charset=UTF-8 to error_content_type 2012-08-24 21:18:40 +09:00
Tatsuhiro Tsujikawa cf93d936be python: fix typo 2012-08-24 21:17:53 +09:00
Tatsuhiro Tsujikawa d8c4b19351 Fix error with w64-mingw32 cross compiler. Add --enable-example option. 2012-08-24 02:15:57 +09:00
Tatsuhiro Tsujikawa a6817ff5e2 Bump up version number to 0.3.3-DEV 2012-08-24 01:49:47 +09:00
Tatsuhiro Tsujikawa 1b91860187 python: update doc 2012-08-24 01:28:18 +09:00
Tatsuhiro Tsujikawa 7b7e020bea python: add doc 2012-08-24 01:25:42 +09:00
Tatsuhiro Tsujikawa 1c5219952b python: add SSL options. Fix duplicated headers. 2012-08-24 01:25:02 +09:00
Tatsuhiro Tsujikawa 7ce24fc122 python: rewritten simple SPDY server. Add npn_get_version() helper function. 2012-08-24 00:27:07 +09:00
Tatsuhiro Tsujikawa dbe7cda79b python: update doc 2012-08-23 21:23:33 +09:00
Tatsuhiro Tsujikawa bbd8fcc704 python: use unicode for nv pair 2012-08-23 21:21:13 +09:00
Tatsuhiro Tsujikawa 424dc2cc9d python: update setup.py 2012-08-23 03:37:26 +09:00
Tatsuhiro Tsujikawa 6fd77f6c5f python: add spdyclient.py 2012-08-23 03:17:14 +09:00
Tatsuhiro Tsujikawa edbccd9e24 python: make spdyserv.py nonblocking 2012-08-23 01:59:21 +09:00
Tatsuhiro Tsujikawa 56d53da7f6 python: update manual 2012-08-23 00:32:49 +09:00
Tatsuhiro Tsujikawa cb6fdb4e02 python: add remaining callbacks except for CREDENTIAL related ones 2012-08-23 00:13:50 +09:00
Tatsuhiro Tsujikawa a2b861e279 python: documented DataProvider 2012-08-22 22:11:59 +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 c59c591ee0 Updated doc 2012-08-22 21:33:35 +09:00
Tatsuhiro Tsujikawa 0583769c42 Check intptr_t using C++ compiler
Patch from Stephen Ludin
2012-08-22 21:27:56 +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 78f6119196 python: add config argument to Session.__init__ 2012-08-22 01:12:00 +09:00
Tatsuhiro Tsujikawa 6074d91b3f python: add test cases 2012-08-22 01:11:41 +09:00
Tatsuhiro Tsujikawa c28b731ef0 Updated doc 2012-08-22 01:11:10 +09:00
Tatsuhiro Tsujikawa bafcbfde88 Remove unused zlib.h header file from spdylay.h 2012-08-22 00:14:02 +09:00
Tatsuhiro Tsujikawa 135ae8cc36 python: document currently implemented methods 2012-08-22 00:05:12 +09:00
Tatsuhiro Tsujikawa 4de4d1e9ef python: handle SPDYLAY_ERR_INVALID_ARGUMENT from in submit_{reply,response} 2012-08-21 23:27:32 +09:00
Tatsuhiro Tsujikawa 0be5ac6ffb spdycat: use locale-free strieq instead strcasecmp 2012-08-21 23:22:33 +09:00
Tatsuhiro Tsujikawa f8fcee122a Check that empty name and NULL value are not included in nv 2012-08-21 23:19:15 +09:00
Tatsuhiro Tsujikawa cdded94305 spdycat: wrap line longer than 79 chars 2012-08-21 22:02:35 +09:00
Tatsuhiro Tsujikawa ccf225641e spdycat: disallow empty header name with -H 2012-08-21 21:39:33 +09:00
Stephen Ludin 2266b102e3 Adding arbitrary headers form the command line 2012-08-21 21:28:06 +09:00
Tatsuhiro Tsujikawa 558e27ac9e Fix intptr_t check in configure.ac 2012-08-21 21:11:53 +09:00