Commit Graph

18 Commits

Author SHA1 Message Date
Masahiro Wakame
81ebe8998d Merge pull request #5849 from Shiak1/patch-1
Added formData to Options interface
2015-09-27 10:43:03 +09:00
Shiak1
09d0097449 Update AuthOptions interface.
Missing bearer token https://github.com/request/request#http-authentication
2015-09-21 14:11:48 -04:00
Shiak1
48c9d444f3 Update request.d.ts
Make formData optional.
2015-09-20 13:37:55 -04:00
Laurent, David | ISDOD
14a002c077 qs should be any
if qs is defined as an object type then if we want to access it like
this it will generate an error :

var requestOpt: request.Options = {
json: true,
qs: {
param1: '',
param2: {}
},
url: '',
};

requestOpt.qs.param1 // <= error
2015-09-18 14:03:53 +09:00
Shiak1
813a3c7490 Added formData to Options interface
Fix issue #5787
2015-09-16 19:07:05 -04:00
Horiuchi_H
fc467173cb Merge pull request #5087 from Deathspike/master
request: Add gzip to Options
2015-07-28 14:18:29 +09:00
Roel van Uden
396d2e4822 request: Add gzip to Options 2015-07-26 23:34:19 +02:00
Maciej Kowalski
5cbfd00b61 fix request.d.ts CookieJar signature 2015-07-23 19:25:03 +02:00
Maciej Kowalski
80ee73de66 fix request.d.ts CookieJar signature 2015-07-23 19:09:09 +02:00
LeandroDG
292104d982 Changed response type to http.IncomingMessage 2015-05-28 18:13:44 -03:00
LeandroDG
9920fd383c Adding basic authentication support
Added property "auth" to options class and method "request.auth" to provide basic authentication
2015-05-28 13:25:04 -03:00
Panu Pitkämäki
ffd35dda97 fix travis, any check 2014-11-17 08:53:31 +02:00
pspi
26c17dce8d allow method chaining with .on() 2014-11-17 08:26:47 +02:00
Steve
9be7aba212 request.d.ts: fixing RequestAPI.Options.form type 2014-09-23 09:43:01 +02:00
Horiuchi_H
a38d60a3dd add stream.Stream type 2014-08-22 12:37:27 +09:00
Horiuchi_H
19e6407072 modify exnteds interface 2014-08-21 21:09:38 +09:00
Horiuchi_H
aa8615f8f2 fix bug 2014-08-21 20:44:20 +09:00
Bart van der Schoor
ec18e20c24 imported Request definitions from typescript-node-definitions
- as per https://github.com/borisyankov/DefinitelyTyped/issues/115
- added DT header (scraped creators from git history)
- added tests
- updated some fields
- restructured to be more accurate
2014-04-23 01:58:45 +02:00