-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement mtom xop file upload #53
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 code looks right, did not load locally or test. 🚢
test('MTOM request', async () => { | ||
const fileName = 'plain-data.txt' | ||
|
||
console.log('start reading') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you may not want/need this in the commited tests ? but if you prefer keeping the logs then ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was there before with the original file, so i only kept the notation. But now after thinking about it, I probably don't want it there, since the test files are very small anyway.
Implement MTOM file upload endpoint to avoid encoding file content into base64 and then having the server parse it as a part of XML causing performance issues with files larger than 5MB.