* Updated tunnel package version to 0.0.6
* Resolving PR comments: Update the patch verison to 1.7.2
Co-authored-by: Stephen Franceschelli <stephenmichaelf@gmail.com>
* Add nock test for HTTP GET with bearer token auth handler
* Change codebase of ntlm handler to use Node-SMB opensource module for node-NTLM
Add nock handler for NTLM Authentication Handler to ensure working functionality
nit: variable naming
move auth handlers tests to a seperate file under tests/units
added auth handlers seperate test file under tests/units
nit: remove unused variables and add comments for NTLM handler test example
restore SamDecrock node-http-ntlm module in-case alongside the newly used module
* nit: fix DeprecationWarning: Buffer() by using Buffer.from(string, encoding)
* nit: newline at EOF
* try REMOVING destructuring assignment to fix failing test
* add assertions messages for nock tests
* nit: code style/enhancements
* nit: use literal-string in favor of string concat
* remove old library used for NTLM Auth and move copyright notice/acknowledgment to LICENSE
* nit: wrap decoding server nonce with try-catch for error handling
* nit: code style/enhancements
* fix TypeError on socket and ensure return of proper error message on request timeout
* use delayConnection() instead of socketDelay
* Drop added unit-test because .socketDelay() problems
* restore httptests back to what it was and remove unused imports
* Integrate ability to decode/process gzip encoded response of Http Requests
* code style: enforce Buffer-type chunks to Buffer.concat() compatibility
* code style: drop type of inner chunk const
* Code Refactor with Buffer-type chunks enforcement
* docs: added helper comments for Gzipped response processing logic
* code style: add TS types
* use utf-8 as default value for charset when decompressing gzipped content if charset not passed
* Drop using default value fo charset in function to decode gzipped content
* nit: optional charset which defaults to utf-8 if not passed to decoding gzip function
* nit: newline at EOF
* nit: sort-out readBody() function to a sole return statement for better readability
* docs: add helper comments for using regex to match and obtain charset
* Support adding query parameters to GET Rest Requests
* Clarify reason for replacing extra question mark at end of Request url
* Refactor: move Query Params interface to the common interfaces module for extensible usage
* Switch to using qs instead of built-in querystring as it offers more options
* Refactor: getUrl util helper function to receive Query Params object instead of entire Request Options
* Added Rest unit tests to parse Url with passing query parameters
* Allow no user agent to be passed
* Bump minor version
* Added tests for changes to support no userAgent (#162)
* Added tests for changes to support no userAgent
* Updated to not expose new public method just for testing
* Fixes from review
* Remove bad merge dependency