132e740257
commands/http: Send req.Files() as multipart
2014-11-18 02:13:53 -08:00
231960e726
commands/http: Fixed client erroring on nil command output
2014-11-14 03:20:11 -08:00
71e92dace2
explain(commands/http)
...
we've gotta allow the code to speak for itself. I wouldn't have been
able to safely modify this code without having my hand held. I am but a
lowly programmer with a simple mind.
cc @jbenet @whyrusleeping @mappum
2014-11-14 03:19:57 -08:00
a4e68c241b
commands/http: Get string representations of option values when creating querystring
2014-11-14 03:19:57 -08:00
49792b2362
refactored cast errors to use a util
2014-11-14 03:19:56 -08:00
3e507f7c9f
commands: Changed option accessor API (Request#Option now returns an OptionValue)
2014-11-14 03:17:38 -08:00
f1c788d710
commands/http: Don't set Content-Type for stream outputs so browsers can MIME-sniff the actual content type
2014-11-14 03:17:35 -08:00
d3f9aadd3e
fix(commands/http/client) cast safely
2014-11-05 10:15:17 -08:00
df6c700426
commands/http: Renamed variable for clarity
2014-11-04 02:04:51 -08:00
c8ae4b6f42
commands/http: Decomposed Client#Send function
2014-11-04 02:04:51 -08:00
e57cd9b857
commands/http: Use net/url querystring encoder
2014-11-04 02:04:51 -08:00
33b0990a3a
commands/http: Cleaner URL formation in client
2014-11-04 02:04:51 -08:00
5e5d534eb3
commands/http: Refactored API to a Client object that takes a string address
2014-11-04 02:04:50 -08:00
69a56de040
commands: Renamed Response#Value to Response#Output
2014-11-04 02:04:49 -08:00
405cfd9762
commands/http: Made parser/client handle variadic arguments
2014-11-04 02:04:49 -08:00
ee2c76992a
commands/cli: Open argument files when creating Requests (Moved out of HTTP client)
2014-11-04 02:04:48 -08:00
40858b43ed
commands/http: Added stream argument handling to client and request parser
2014-11-04 02:04:48 -08:00
3a8d60cc61
commands: Removed inpout stream from Request
2014-11-04 02:04:48 -08:00
827f1dd0b0
commands: Changed Request arguments to a []interface{}
2014-11-04 02:04:48 -08:00
abcebb0bc2
commands/http: Improved client error handling
2014-11-04 02:04:47 -08:00
c0a9871d48
commands/http: Made HTTP client unmarshal response values based on the Command#Type
2014-11-04 02:04:46 -08:00
32a2959348
commands/http: Don't try to parse HTTP response into a Response, just read the output
2014-11-04 02:04:46 -08:00
42633e5d40
commands/http: Send request arguments in client requests
2014-11-04 02:04:45 -08:00
48bd73c530
commands/http: Made client load RPC host from config
2014-11-04 02:04:45 -08:00
8b61daa1db
commands/http: Moved HTTP RPC into commands/http package
2014-11-04 02:04:44 -08:00