Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Dragomir Ivanov e6b9348588 Rework argument passing 2014-07-04 02:26:54 +03:00
Dmitry Maksimov 1233524c4a Code cleanup 2014-03-09 14:31:33 +04:00
Dmitry Maksimov dac4f80439 Restore client tests 2014-03-09 14:31:33 +04:00
Dmitry Maksimov 923b8036fe Improve encoding of request parameters 2014-03-09 14:31:33 +04:00
Ryan Bourgeois 2f3f5f961e Correct spelling of Content-Length header. 2013-11-08 21:29:02 -08:00
Ruben 7830fca5e2 Update request.go
array element had extra <value> tag
2013-06-20 18:01:10 +03:00
Dmitry Maksimov a0c0e162f9 Formatted code with gofmt 2012-11-08 23:07:21 +04:00
Mike McClurg 34ac2d02fd Add Params structure to facilitate passing unamed parameters to methods
It seemed that it was impossible to Call an xmlrpc method with an array of
strings, where each string would become a separate parameter. This commit adds
a new Params struct with a Params []interface{} field, and checks for this type
in buildRequestBody.

Signed-off-by: Mike McClurg <mike.mcclurg@gmail.com>
2012-11-07 08:54:25 +00:00
Dmitry Maksimov ee1ac971fd String values escaped before inserting into request xml 2012-09-26 13:35:55 +04:00
Dmitry Maksimov 0a503c639d Cookies not updated when they already exist. Added support of Array value type. 2012-09-19 16:51:30 +04:00
Dmitry Maksimov 75b70cc3fc NewClient function accepts transport parameter.
Also:
* Moved some code to appropriate files
* Updated tests
2012-09-19 12:47:01 +04:00