Nick O'Leary
d3de7037e5
Move HTTPRequest node to its own file
2015-12-10 12:58:50 +00:00
Dave Conway-Jones
8abd0b1fdf
Detect/set correct method for http proxy
...
to close #732 — thanks @utaani
2015-10-09 09:19:09 +01:00
Nick O'Leary
c232bf5ed6
Avoid unnecessary isUtf8 check on HTTP payloads
2015-10-05 21:10:32 +01:00
Nick O'Leary
21b25ffaee
Merge pull request #730 from jthomas/master
...
Allow HTTP nodes to handle non-UTF8 content.
2015-10-05 20:52:35 +01:00
James Thomas
699a22c757
Allow HTTP nodes to handle non-UTF8 content.
...
Setting UTF-8 as the default body encoding stops us sending binary
content, e.g. audio, which can be decoded into a Buffer.
Use "Content-Type" header to decide whether to decode as UTF-8 or a
Buffer.
2015-10-05 11:53:29 +01:00
Nick O'Leary
ecde942255
Wrap msg.req/res objects and add deprecated warnings to functions
2015-10-02 21:27:31 +01:00
Nick O'Leary
d668d43a0a
Move to express 4.x
2015-10-02 21:27:31 +01:00
Nick O'Leary
66ec9bae27
Add warning if HTTP In node is missing path config
2015-10-02 21:27:30 +01:00
Nick O'Leary
f9e0420647
Fix http node method-override nls message id
2015-08-31 16:06:00 +01:00
Nick O'Leary
726069bc4b
NLS status text in editor not runtime
2015-07-02 10:49:40 +01:00
Nick O'Leary
203bc41b06
Some more node i18n tidy up
2015-07-02 10:49:38 +01:00
Nick O'Leary
5ea68dafc4
More node i18n tidy ups
2015-07-02 10:49:38 +01:00
Scott Yoshizawa
2fe859b111
NLS Core nodes
...
NLS exec node
NLS function/temple/delay nodes
NLS function/template/delay/trigger/comment nodes
NLS io nodes (mqtt/httpin/websocket/watch/serial)
NLS messages.json for tcpin
NLS io nodes (tcpin & udp half)
NLS io nodes (udp)
NLS logic nodes (switch/change)
NLS logic (range) and parsers (csv&html) nodes
NLS parser nodes (json/xml)
NLS test case update for logic/parsers
NLS analysis and hardware nodes
NLS storage nodes (file/redisout/mongodb) and test
NLS storage node (tail)
NLS social nodes (feedparse/email/irc)
NLS socal node (twitter half change)
NLS social node (twitter) and core node (unknown)
2015-07-02 10:46:57 +01:00
Nick O'Leary
4248d20f39
Add RED.util.generateId and ensure HTTP node adds proper id
2015-06-02 15:54:37 +01:00
dceejay
3a4756bd83
let urllib parse proxy url more cleanly in http-request node.
2015-05-23 18:55:11 +01:00
dceejay
6ccb05cb2c
http-request node - relax proxy regex check to let userid:password through
2015-05-21 17:45:11 +01:00
dceejay
956050434f
Add no_proxy to http-request node.
...
also make it support HTTP_PROXY and NO_PROXY (ie uppercase)
2015-05-19 11:07:54 +01:00
dceejay
38ab1550d2
change http request to use http_proxy environment rather than do it ourselves
2015-05-19 10:00:06 +01:00
Nick O'Leary
d28a6eaf9d
Add httpNodeMiddleware option
...
Closes #631
Enables custom middleware to be inserted in front of all HTTP In
nodes.
2015-05-13 21:25:37 +01:00
dceejay
17f3366556
Adds proxy support to http node - via settings.js
2015-05-13 13:54:47 +01:00
dceejay
cf25b2866e
Allow http to accept delete properly, and put, options etc.
2015-05-07 16:45:44 +01:00
Nick O'Leary
b3684a70b5
Handle Buffer payloads in HTTP Response node
2015-05-02 22:20:46 +01:00
Nick O'Leary
a443491c0c
Merge pull request #630 from lostinthestory/swagger-gen
...
Added support for swagger doc to HTTP-In
2015-05-01 09:32:57 +01:00
Nick O'Leary
771342989e
HTTP Request - handle null url
...
Fixes #632
2015-04-26 08:50:42 +01:00
Cody Walker
e9ce519e4b
Added support for swagger doc to HTTP-In
2015-04-24 13:53:38 -05:00
dceejay
9afb4a9315
reverse overide behaviour on file, http and email. Node properties now
...
have priority. Warn user if msg.property tries to override.
Warning should be removed at next major verion bump.
2015-03-19 21:25:43 +00:00
dceejay
4403a00651
Revert change to http until we fully deprecate msg/node priorities
...
Fix to close #582
2015-03-08 18:36:35 +00:00
dceejay
b8c460b825
pass original url request through http request node
...
(will be useful when we handle errors... ;-)
2015-02-24 13:20:33 +00:00
Nick O'Leary
c8d2d690f0
Rename HTTP In content-length metric
2015-02-04 21:10:18 +00:00
Nick O'Leary
f2d4648384
Support of HTTP Node metrics
2015-02-04 20:48:46 +00:00
dceejay
f451d0644a
Allow msg.PATCH method on http request node
...
Simple fix to Close PR #524
(no CLA)
2015-01-30 10:00:20 +00:00
Dave C-J
41552625e0
remove spurious line of debug from http node
2014-12-15 17:01:58 +00:00
Dave C-J
27ef7d972f
Add Binary paylaod option to Http request node
...
Also add JSON parse option to output
Allow user to select override using msg.method to stop getting warning.
Fix to close #399
2014-12-09 14:40:03 +00:00
Dave C-J
5f74a1d237
Update file, http and email nodes to only show deprecation warning
...
if msg property is a real overide to node property ( !== ).
Fix for comment by @drJeckyll to Issue #399
2014-12-01 22:58:25 +00:00
Nick O'Leary
da7b3ce9e4
Incorrect reference to routes in http in node
...
Fixes #503
2014-11-28 10:09:38 +00:00
Anna Thomas
069a47f35a
Added node warnings when message properties override set node properties
2014-11-05 17:23:27 +00:00
Dave C-J
a1830def8e
Fix http in node close wrinkle if cors enabled but not used.
2014-10-29 18:26:09 +00:00
Nick O'Leary
1f95071a37
Only normalise known headers in http node
2014-09-22 20:48:06 +01:00
Nick O'Leary
56768fbf2c
HTTP In delete configuration missing errorHandler
...
Fixes #384
2014-09-05 13:19:05 +01:00
Nick O'Leary
55679694c9
HTTP In - fix header iterator
2014-07-23 21:28:53 +01:00
Dave C-J
82036dd84a
Simple fix to check/force http: to close #288
...
Checks url starts http: or https: - if not add http: - at least then it breaks gently.
Also add resultant url to any error payload if request fails in order to make debug easier.
2014-07-23 12:09:34 +01:00
Nick O'Leary
bead24e760
HTTP In node: Check credentials exist before using
2014-07-22 11:33:52 +01:00
Nick O'Leary
d67a54a66a
Update HTTP Request node to new credentials api
2014-07-19 00:26:46 +01:00
Dave C-J
4770a06679
yet more JShint cleaning.
2014-07-18 21:49:48 +01:00
Nick O'Leary
3db84d5bf1
HTTP Out payload: relax null checking
2014-07-09 09:51:43 +01:00
Nick O'Leary
4d031891e5
Http Out: remove excess debug
2014-07-09 09:48:09 +01:00
Nick O'Leary
a7e7254317
Handle null response payloads
2014-07-09 09:46:10 +01:00
Nick O'Leary
8e24a958b7
HTTP Out - stringed the wrong bit
2014-07-09 09:43:02 +01:00
Nick O'Leary
bd80cf4f83
HTTP Out - header properties must be strings
2014-07-09 09:08:43 +01:00
Dave C-J
c61d4d3209
revert logging of every url request from http reg node.
2014-06-12 21:16:41 +01:00