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

shoud allow the setting of the content-type... it is now hardcoded into the class to plain/text , which is not good #34

Open
boatmeme opened this issue Apr 23, 2012 · 1 comment
Assignees
Milestone

Comments

@boatmeme
Copy link
Owner

You should allow the setting of the content-type... it is now hardcoded into the class to plain/text , which is not good. One should be able to set it as it wishes.

This is a problem description:

http://social.microsoft.com/Forums/en-US/translator/thread/fa4063eb-3cf9-4b0b-872c-849623256d71

Meanwhile I am downloading the sources and will do it myself (set a global static variable just as the appid key, to be set when needed)

Regards.

[email protected]

@ghost ghost assigned boatmeme Apr 23, 2012
@seanf
Copy link

seanf commented Oct 7, 2016

It looks like a static setter method com.memetix.mst.MicrosoftTranslatorAPI.setContentType(String) was added in commit 790a943, but it appears to control the Content-Type header, not the Translate/TranslateArray contentType parameter(s).

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

No branches or pull requests

2 participants