Commit Graph

14 Commits

Author SHA1 Message Date
debugtalk
7043893b44 change varaible name: response content => response body 2017-06-21 16:03:12 +08:00
debugtalk
53989f826e diff http response: headers 2017-06-21 15:56:01 +08:00
debugtalk
1f5ff5502c apiserver: get_customized_response, including status code and headers 2017-06-21 13:39:08 +08:00
debugtalk
4a025164a6 apiserver: add get_response_with_headers 2017-06-21 13:19:31 +08:00
debugtalk
8479a82983 diff http response: status code 2017-06-21 12:17:51 +08:00
debugtalk
c21646a01f apiserver: add get_response_with_status_code 2017-06-21 11:43:21 +08:00
debugtalk
4d69342d40 parse_response_object: load response content as json format if possible 2017-06-20 20:24:38 +08:00
debugtalk
278aaff290 add parse_response_object 2017-06-20 20:06:36 +08:00
debugtalk
898e0f27fa create ApiServerUnittest for public use 2017-06-20 20:04:10 +08:00
debugtalk
45351e3ba7 utils: testcases loader 2017-06-20 19:43:44 +08:00
debugtalk
f06adb064d move api_server start and terminate to class method in order to start api_server only once 2017-06-20 14:22:52 +08:00
debugtalk
bb199bd42e run api_server in multiprocessing.Thread other than gevent.pywsgi.WSGIServer 2017-06-20 13:25:59 +08:00
debugtalk
b775e8c217 update api_server and its tests 2017-06-19 16:19:17 +08:00
debugtalk
7cbbaa3e49 create api server for test 2017-06-16 12:12:43 +08:00