Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

recorder.result.upload form error #11

Closed
bobzsj87 opened this issue Nov 6, 2013 · 2 comments
Closed

recorder.result.upload form error #11

bobzsj87 opened this issue Nov 6, 2013 · 2 comments
Labels

Comments

@bobzsj87
Copy link

bobzsj87 commented Nov 6, 2013

The upload form data is not a standard post form, but an array of raw data. Upload needs to be a standard multipart form data so that server can handle it correctly. Chrome inspection of this form shown here

screen shot 2013-11-06 at 11 16 43 pm

@normanzb
Copy link
Owner

normanzb commented Nov 6, 2013

ver 0.2.1 should partially fixed the issue, now it is posting raw data rather than byte sequence string.

however, it is still using a standard post because it is sufficient for data uploading in most case and can be easily handled by backend.

multipart is still a TODO and duplicated with issue #3

@bobzsj87
Copy link
Author

bobzsj87 commented Nov 7, 2013

the upload request to the server is marked as Content-Type:application/x-www-form-urlencoded. Server side cannot decode the formdata based on this, should be like multipart/form-data or plain text, or something else

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants