Commit Graph

13 Commits

Author SHA1 Message Date
David Frank 839354b76b fix missing require 2016-03-19 18:45:02 +08:00
David Frank 42d822273f node 0.10 need the status code fallback 2016-03-19 18:41:11 +08:00
David Frank 362aa087ca clone method support 2016-03-19 18:06:33 +08:00
David Frank dec9c7bda6 no longer need to expose promise on reponse constructor now that body constructor exists 2016-03-19 15:46:23 +08:00
Kirill Konshin e658483ebe Fix for #38 and #36
Support string/buffer bodies in Response constructor
Request should have Body methods like text(), json()
2016-02-17 10:50:55 -08:00
David Frank 8f02a2b77c handle body stream error 2015-09-28 21:58:45 +08:00
Kirill Konshin 765aef29f8 Fix for #33
Added parsing of Headers in Response & Request constructors
2015-08-08 19:43:55 -07:00
David Frank e09dfae0a5 timeout on body and clear timeout internally 2015-04-17 13:26:55 +08:00
Darren Hurley e63404a368 less greedy charset matching 2015-03-23 17:00:23 +00:00
David Frank 48a0a9a2f2 xml encoding detection, response size limit 2015-01-28 22:56:25 +08:00
Matthew Andrews ff5eabfdf4 Add a convenience `ok` getter on `Response` 2015-01-27 23:43:06 +00:00
David Frank ff81206c4a better test coverage 2015-01-28 01:00:53 +08:00
David Frank af21ae6c1c basic refactor done 2015-01-27 21:11:26 +08:00