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

118 Коммитов

Автор SHA1 Сообщение Дата
damccorm 30e89f4940
Merge pull request #79 from damccorm/issue-78
Added proxy sample
2018-09-28 08:37:13 -04:00
Danny McCormick f8d58960f7 Responding to feedback 2018-09-24 14:39:54 -04:00
Danny McCormick 12ae4b21d1 Changed revive to deserialize 2018-09-24 14:05:45 -04:00
Danny McCormick d0685dd3d2 Added one more check 2018-09-24 11:10:03 -04:00
Danny McCormick 859534eaa4 Cleaned up tests to respond to comments 2018-09-24 11:07:46 -04:00
damccorm 2ae6d696a0
Merge pull request #86 from damccorm/issue-74
Added basic React and node server examples
2018-09-20 10:31:21 -04:00
Danny McCormick f7b30d9c5c Addressing comments 2018-09-18 10:58:34 -04:00
Danny McCormick 4921313a98 Added basic node server example 2018-09-18 09:47:24 -04:00
Danny McCormick 3fb2adcbb0 Added React sample 2018-09-14 10:47:37 -04:00
Danny McCormick b92aa33f5c Adding optional date reviver 2018-09-13 09:14:21 -04:00
damccorm 92a8cbc0dd
Responding to comments 2018-09-12 08:53:25 -04:00
Danny McCormick 8bc0aa2f66 Added proxy sample 2018-09-11 13:02:20 -04:00
damccorm e268bebc23 Updated tests to use Nock instead of httpBin (#77)
* Updated tests to use nock instead of httpBin

* Updated tests to ensure that any error includes the http response

* Re-added non-unit tests
2018-09-10 14:50:23 -04:00
Bryan MacFarlane 46689f9b12 bump 2018-08-23 22:56:11 -04:00
William 2366e11aac Handle 303 SeeOther redirect. (#75)
* Handle 303 SeeOther redirect.

* Add unittest to covert 404 on redirect.
2018-08-23 22:53:38 -04:00
Stephen Franceschelli e2b762f684 Add ThirdPartyNotice and copy that and package lock to _build. (#64) 2018-03-23 13:58:56 -04:00
Stephen Franceschelli b849592590
Documentation changes. (#60) 2018-02-12 11:11:29 -05:00
Bryan MacFarlane dd7e06ffe8 bump version 2018-01-30 21:00:09 -05:00
André Wachter d0bff29a55 Return 'null' on status 404 (#57)
* Add a null type to IRestResponse.result since it might be null

* Improve initialization of default result object

- Use const qualifiers
- Initialize 'result' attribute with 'null', so the code matches the documentation
- Use strict identity check for 'null' in test

* Adjust rest tests

* Rename variable in RestClient._processResponse()
2018-01-30 20:57:39 -05:00
Stephen Franceschelli 56c385c643 Documentation. (#53) 2018-01-30 20:56:45 -05:00
Bryan MacFarlane f7a76af83c bump version 2018-01-29 19:25:18 -05:00
Omesh dffabe6a69 Fix issue with destroying proxy agent (#46)
Proxy agent doesn't support destroy function
2018-01-29 19:14:16 -05:00
Bryan MacFarlane 226a926238 update readme 2018-01-23 08:20:54 -05:00
Bryan MacFarlane c051c07da5 Merge branch 'master' of github.com:Microsoft/typed-rest-client 2018-01-17 21:07:54 -05:00
Bryan MacFarlane 3605bd6793 bump version for 1.x release 2018-01-17 21:06:19 -05:00
bryanmac-laptop 64faf7c7f9 bump version for 1.x release 2018-01-17 21:05:00 -05:00
Stephen Franceschelli 75a37890dd Add NTLM authorization handler. (#56)
* Add NTLM authorization handler.

* Code review feedback.
2018-01-17 16:30:25 -06:00
Omesh 9e6a31e88e Fix proxy if password has url sensitive characters (#50) 2018-01-02 12:46:24 -05:00
Stephen Franceschelli 9ab5d63201
Yml bug fix. (#51) 2017-12-21 12:38:09 -05:00
Stephen Franceschelli 65c87d5ded
Add YAML file (#44)
Add yaml file for build definition.
2017-12-21 12:31:23 -05:00
Stephen Franceschelli 36f9f36e2b Only enforce version on build. (#45) 2017-12-07 18:50:31 -05:00
Stephen Franceschelli 7c570b03a9
Enforce node and npm versions in make.js (#36) 2017-12-07 11:57:01 -05:00
Bryan MacFarlane 762b917341 update readme 2017-12-07 08:27:54 -05:00
Stephen Franceschelli fb148ec254 Users/stfrance/issue template (#37)
* Issue template.

* Remove npm-debug. Add to .gitignore.
2017-12-07 08:21:34 -05:00
Bryan MacFarlane 085ce6acec npm run bt 2017-12-07 08:14:01 -05:00
Bryan MacFarlane 4255da9b7e bump version 2017-12-07 08:02:04 -05:00
Bryan MacFarlane 68d80682d3 path fix and more tests 2017-12-07 07:53:32 -05:00
Bryan MacFarlane 1dae747830 bump version 2017-12-05 16:38:57 -05:00
Omesh 93448b8ffd Support http keep alives (#30)
* Support using custom agent for rest calls.

* cr comments

* adding tests
2017-12-05 16:34:57 -05:00
Kai fc0e561baf Support path in the base url (#23)
* Add optional parameter to preserve path from base url

* Use path.join instead of concatenation

* Remove forgotten console log

* Remove parameter to toggle preservePath

* relpaths

* Use path.posix.join to force forward slash

* Fix unit tests
2017-12-01 21:24:14 -05:00
Bryan MacFarlane e3852f4694 update contrib 2017-11-30 18:11:16 -05:00
Bryan MacFarlane b9acdefb13 dev deps 2017-11-30 18:08:54 -05:00
Stephen Franceschelli d9e358f3fb Downgrade node version dev dependency. (#24) 2017-11-30 18:01:23 -05:00
Nico Jansen 1581035339 refactor(casing): Force consistent casing (#25)
Force consistent casing across code. This will allow people to import the interfaces from `Interfaces.ts` and also use `forceConsistentCasingInFileNames`
2017-11-30 17:55:52 -05:00
Bryan MacFarlane db540998e1 bump version 2017-11-21 00:46:13 -05:00
Bryan MacFarlane 4f4b36eb6c readme tweak 2017-11-20 22:55:42 -05:00
Bryan MacFarlane 3b7c044c2f readme tweak 2017-11-20 22:52:04 -05:00
Bryan MacFarlane 9a7f674a49 rest errors status codes 2017-11-20 22:44:34 -05:00
Bryan MacFarlane 6b6aa5cc33 http basic and PAT auth tests 2017-11-20 19:36:54 -05:00
Bryan MacFarlane 5fc3aad652 http tests and handler samples 2017-11-20 19:18:47 -05:00