-----------------------------------------------------------------
Revision: bdbd0c36a142855d4ba14fe4404451b991109d83
Ancestor: 87b44ee5426108c61eefdef3e6085c0b18613385
Author: [email protected]
Date: 2009-05-30T05:50:45
Branch: net.venge.monotone.nuskool
Modified files:
README.nuskool cmd_netsync.cc cmd_scgi.cc gsync.cc http.cc
http.hh http_client.cc http_client.hh
ChangeLog:
allow for both json and raw requests to be handled based on url and http method
* README.nuskool: add some notes on the netsync code and a list of things to do
* cmd_netsync.cc (gsync): update FIXME
* cmd_scgi.cc (request_handler): new struct for handling http requests
(json_handler): handler for json requests
(inquire_handler): unimplemented handler for plain text inquire requests
(process_request): add map of handlers to deal with requests to specific
url's;
add big note about scgi mount points; add note about selecting appropriate
handler; clean up response status handling
(gserve): add list of potential url's with supported methods and content
types;
add initial map of url handlers passed to process_request
* gsync.cc (run_gsync_protocol): switch to pushing/pulling revisions without
file data for testing
* http.{cc,hh}: replace response status_code and status_message members with a
struct containing both values; add static constants representing a small
subset of http status codes and use these in various places
* http_client.{cc,hh} (execute): more logging of http request/response cycle
(raw_channel): new channel for transmission of raw basic_io revision text and
associated file data; lots left to be implemented
monotone --db={your.database} diff
--revision=87b44ee5426108c61eefdef3e6085c0b18613385
--revision=bdbd0c36a142855d4ba14fe4404451b991109d83
----------------------------------------------------------------------
_______________________________________________
Monotone-commits-nodiffs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-commits-nodiffs