Nick O'Leary
d9bbac20f3
Merge pull request #4320 from node-red/dev
...
Sync `dev` to `master` for 3.1.0 release
2023-09-06 14:04:36 +01:00
Nick O'Leary
46b15a51d4
Revert "Support form-data arrays"
2023-09-05 09:41:48 +01:00
Nick O'Leary
97470e94f1
Merge pull request #4262 from sammachin/patch-3
...
Handle 204 in httprequest JSON
2023-08-14 11:10:24 +01:00
Sam Machin
ec86ec188b
Update Test
...
I've changed the DELETE test to expect an empty object as the node is requesting an object response, this will therefore cover testing the new functionality.
The subsequent HEAD test also expects a 204 response but the requested type is txt so that will still expect an empty string response.
2023-08-02 14:32:39 +01:00
Nick O'Leary
20abe4a40c
Update dependecies include got
2023-04-28 21:37:03 +01:00
Steven Roebert
ddf6023983
Added unit tests for digest authentication
2023-03-12 10:08:32 +01:00
Ben Hardill
4c1d7ad2d2
Merge branch 'master' into http-request-form-array
2022-12-24 20:37:33 +00:00
Ben Hardill
661b07c856
Add tests
2022-12-24 20:35:51 +00:00
Nick O'Leary
c62a101635
Fix httprequest tests to be more lenient on error message
2022-10-16 23:10:57 +01:00
Hiroyasu Nishiyama
ce7b0a3b5e
remove done from describe
2022-09-06 18:05:50 +09:00
Ben Hardill
58b951e134
Make port number dynamic in test
2022-08-14 15:09:48 +01:00
Ben Hardill
30956b5441
Add missing property to node object HTTPRequest
...
Also add tests for broken headers
2022-08-14 15:02:39 +01:00
Steve-Mcl
31b3a4c342
Add UI for common headers/values
...
- Wrap HTML node script in IFFE (isolate module level vars & functions)
- Add UI elements for setting headers in http req node edit form
- Update built in help
- Add tests
2022-03-12 13:47:29 +00:00
Nick O'Leary
6364e00202
Merge pull request #3092 from hardillb/http-req-ca-fix
...
Copy tls.cert to tls.certificate for GOT
2021-07-28 10:05:19 +01:00
Ben Hardill
a76c6f86c6
Add Testcase & Fix typo
2021-07-28 08:52:35 +01:00
Nick O'Leary
f1775d4fd1
Handle partially encoded url query strings in request node
2021-07-26 14:21:52 +01:00
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
36e83d628e
Add unit tests for HTTP Request encodeURI and error response
2021-07-23 00:10:17 +01:00
Ben Hardill
553bec1a1f
Add testcase
2021-06-11 14:34:16 +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
090852b72b
Revet changes to /proxyAuthneticate
...
This end point is currently not hit
2021-06-08 12:06:18 +01:00
Ben Hardill
4e8c0573c4
Re-enable as many http-request proxy tests as possible
2021-06-08 11:46:54 +01:00
Ben Hardill
17a139f27f
Start to add HTTP-PROXY tests back in
2021-06-08 10:30:24 +01:00
Ben Hardill
bd1943626b
Add more comment
2021-06-07 16:00:07 +01:00
Ben Hardill
33f8c9747d
Comment out HTTP Proxy tests
...
These have been removed because the mock proxy doesn't
support using the HTTP CONNECT verb and the new Got based
http-request node only uses CONNET for proxied content
2021-06-07 13:00:02 +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
5992ed1fab
Fully remove when.js dependency
2020-12-07 11:49:01 +00:00
Nick O'Leary
ee6f6ae391
Fixup debug tests
2020-01-17 20:57:13 +00:00
Nick O'Leary
69b781419f
Move io to network
2019-08-21 14:23:24 +01:00