Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Briefcase not encoding content type correctly #5

Closed
getodk-bot opened this issue Nov 23, 2016 · 1 comment
Closed

Briefcase not encoding content type correctly #5

getodk-bot opened this issue Nov 23, 2016 · 1 comment
Assignees
Labels

Comments

@getodk-bot
Copy link
Member

Issue by mitchellsundt
Thursday Jul 09, 2015 at 19:00 GMT
Originally opened as getodk/getodk#655 (1 comment(s))


Originally reported on Google Code with ID 654

From email list:

I'm having problems uploading images through Briefcase. What I'm doing now is putting
a jpg along with an xml file (which references the jpg) in a folder in the briefcase
storage and then pushing it to the server. Everything works fine except when I click
on the photo on Aggregate in says it's "binary data" and I can't open it. No problems
when I go to "Manually Upload Submission Data" and select the jpg and xml seperately
(i.e. I'm able to see the photo on the server).

Reported by wbrunette on 2012-07-29 19:18:04

@getodk-bot
Copy link
Member Author

Comment by mitchellsundt
Thursday Jul 09, 2015 at 19:00 GMT


The file type is based upon the file extension of the image file.

The recognized extensions are:

xml  -> text/xml
jpg  -> image/jpeg
3gpp -> audio/3gpp
3gp  -> video/3gpp
mp4  -> video/mp4
csv  -> text/csv
xls  -> application/vnd.ms-excel

anything else is uploaded as a binary data file.

What file extension are you using?

Reported by mitchellsundt on 2012-07-30 22:02:09

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

3 participants