mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(HTTP Request Node): Process text files (#16226)
This commit is contained in:
@@ -10,6 +10,11 @@ describe('Test Binary Data Download', () => {
|
||||
.get('/path/to/image.png')
|
||||
.reply(200, Buffer.from('test'), { 'content-type': 'image/png' });
|
||||
|
||||
nock(baseUrl)
|
||||
.persist()
|
||||
.get('/path/to/text.txt')
|
||||
.reply(200, Buffer.from('test'), { 'content-type': 'text/plain; charset=utf-8' });
|
||||
|
||||
nock(baseUrl)
|
||||
.persist()
|
||||
.get('/redirect-to-image')
|
||||
|
||||
Reference in New Issue
Block a user