Commit Graph

26 Commits

Author SHA1 Message Date
Ben Hardill 26087f8dc7
Fix support for supplied CA certs 2021-07-26 10:25:06 +01:00
Nick O'Leary 6e69cfbca4
Preserve case of user-provided http headers in request node
Fixes #3081
2021-07-23 09:55:32 +01:00
Nick O'Leary 775181f761
Set decompress to false for HTTP Request to keep 1.x compatibility
Fixes #3083
2021-07-23 08:57:44 +01:00
Nick O'Leary 5f6fcb2bc0
Do not throw HTTP errors in request node
Fixes #3082

GOT will throw errors for non-successful http responses by default. We need to turn that
off to be consistent with the 1.x behaviour using the request module
2021-07-22 23:48:30 +01:00
Nick O'Leary 7b106e5650
Ensure uri is properly encoded before passing to got module
Fixes #3080
2021-07-22 23:47:32 +01:00
Nick O'Leary 79d9c83a2d
Better detection of broken agent-base function patching 2021-07-22 11:19:25 +01:00
Nick O'Leary f7606e92ca
Detect if agent-base has patch https.request and undo it
Fixes #3072
2021-07-21 16:22:28 +01:00
Nick O'Leary 6750be3ec9
HTTP Request node - ignore invalid cookies rather than fail request
Fixes #3075

Keeps behaviour consistent with the request module
2021-07-21 14:09:15 +01:00
Ben Hardill 32dd186f4d
Prevent Overwite of configured creds 2021-07-16 08:47:30 +01:00
Ben Hardill 81f0fb3c74
Fix creds in URL 2021-07-15 18:32:51 +01:00
Ben Hardill 972c83cd52
Fix for #3067
Check if there are any content to the credential object
2021-07-15 17:35:03 +01:00
Ben Hardill 919aee64f9
Add support for user/pass in URL 2021-06-11 14:48:41 +01:00
Ben Hardill bcb6d1cf93
Fix for basic auth with @ in username 2021-06-11 14:25:18 +01:00
Ben Hardill d5c5738aab
Fix proxy authentication problem & reinstate tests
Down to only 2 of the previous tests not working
2021-06-08 14:22:20 +01:00
Ben Hardill 8c1a749a5a
Fix msg.responseUrl
The original version would pick up the proxy servers port number
2021-05-12 11:08:57 +01:00
Ben Hardill 4c8e895ac7
Clean up console.logs 2021-05-11 09:56:22 +01:00
Ben Hardill f6a3671366
Get the http-request node got port working with Proxy 2021-05-10 23:01:29 +01:00
Nick O'Leary e23f20227a
Initial migration from request to got for http-request node 2021-04-23 14:19:15 +01:00
Nick O'Leary 16e021e94f
Request node: set followAllRedirects to work with POSTs
Fixes #2017
2021-04-07 14:35:29 +01:00
Ben Hardill 0ca36a89e3
Updates to match Nick's suggestions 2020-02-26 19:45:01 +00:00
Ben Hardill 37bcd5c603
First pass at adding support for GET requests
with a body
2020-02-25 21:28:15 +00:00
Simon Hailes 175a871ee0 repalce for-in with 'normal' for loop in mqtt and http 2019-11-18 17:14:38 +00:00
btsimonh b4e2061e85
Update packages/node_modules/@node-red/nodes/core/network/21-httprequest.js
Co-Authored-By: Nick O'Leary <nick.oleary@gmail.com>
2019-11-18 17:03:59 +00:00
Simon Hailes aa86cfc55f Add fix for HttpsProxyAgent using an incorrect default port for http: 2019-11-03 11:08:24 +00:00
Simon Hailes 0b3e9bf5e2 mqtt & httprequest: change proxy comparison from null to falsy.
mqtt - add no_proxy support.
2019-11-03 09:54:23 +00:00
Nick O'Leary 69b781419f
Move io to network 2019-08-21 14:23:24 +01:00