Skip to content
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

Use multipart-form encoding for rageshake uploads #3646

Merged
merged 2 commits into from
Apr 18, 2017

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Apr 18, 2017

This is a more sensible encoding for uploading logfiles, and will allow us to compress the logfiles in future.

browser-request doesn't give us enough flexibility to do this properly, so we use XMLHttpRequest directly.

See https://github.com/matrix-org/rageshake/blob/caf57b60cbfda2652fa577397aaebb4df04449f7/README.md#post-apisubmit for the API details.

(builds on top of #3645. The actual changes are in 0561c8c.)

@richvdh
Copy link
Member Author

richvdh commented Apr 18, 2017

btw, please don't merge this until I land the other end!

@dbkr
Copy link
Member

dbkr commented Apr 18, 2017

lgtm modulo TextEncoder test fail

@dbkr dbkr assigned richvdh and unassigned dbkr Apr 18, 2017
richvdh added 2 commits April 18, 2017 16:41
This is a more sensible encoding for uploading logfiles, and will allow us to
compress the logfiles in future.

browser-request doesn't give us enough flexibility to do this properly, so we
use XMLHttpRequest directly.
@richvdh richvdh force-pushed the rav/multipart_rageshake branch from faa8068 to 9c186da Compare April 18, 2017 15:41
@richvdh richvdh merged commit a34b5ab into develop Apr 18, 2017
@richvdh richvdh deleted the rav/multipart_rageshake branch April 18, 2017 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants