David Frank
|
6bac50f1da
|
fix bug related to request wrapping, where counter adopts follow value incorrectly
|
2016-09-11 22:02:39 +08:00 |
David Frank
|
c82e4dad13
|
mark non-spec api
|
2016-08-03 14:05:59 +08:00 |
David Frank
|
028b8f0e4b
|
skip content encoding detection for non-html/xml/plain text response
|
2016-08-03 14:03:22 +08:00 |
David Frank
|
49363411f8
|
add a much-requested buffer() method for convenience
|
2016-08-03 13:27:32 +08:00 |
Rhys Evans
|
c3e05ff1f7
|
default to 200 response status
|
2016-07-13 00:28:36 +01:00 |
David Frank
|
2a6e656c1d
|
allow any url for new request, but still reject non-http url in fetch
|
2016-05-26 02:19:16 +08:00 |
David Frank
|
419597fe13
|
user should be able to resolve cloned body before original body
|
2016-05-26 01:01:56 +08:00 |
Maciej Brencz
|
c8a895eb5e
|
request.js: remove unneeded input.agent
|
2016-04-12 23:59:12 +02:00 |
David Frank
|
64d798dd83
|
add basic support for redirect mode
|
2016-04-06 02:47:23 +08:00 |
David Frank
|
974666a3a8
|
code formatting
|
2016-04-06 01:43:12 +08:00 |
Christian Pekeler
|
b6f3913499
|
Support for program checkable error by introducing custom errors with error types/codes
This finally closes #7
|
2016-04-05 21:20:42 +08:00 |
David Frank
|
89ce1b70b6
|
fix formdata support when you are trying to wrap the request
|
2016-03-23 15:02:04 +08:00 |
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
|
00fa867914
|
fix chunked encoding support for character encoding conversion, thx @dsuket PR #50
|
2016-03-19 16:17:14 +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 |
David Frank
|
532adab676
|
fix code formating
|
2016-03-19 15:41:25 +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 |
Tomáš Ehrlich
|
751cf6cd29
|
Add Headers.forEach method.
|
2015-10-27 06:13:02 +01: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
|
feb4808a22
|
allow request wrapping
|
2015-06-04 12:40:01 +08:00 |
David Frank
|
694b2300f9
|
basic refactor for request
|
2015-06-04 12:05:01 +08:00 |
David Frank
|
a322795339
|
handle common mistake of passing number as header
|
2015-05-04 12:05:06 +08:00 |
David Frank
|
596232fd90
|
better test for headers, only support string and array
|
2015-04-29 12:15:08 +08:00 |
David Frank
|
19dcea47f1
|
add Headers support
|
2015-04-22 23:36:11 +08: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
|
281037c795
|
travis and tests update, plus some doc clean up
|
2015-03-19 23:38:27 +08: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 |