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

allowUpload JSON view, content-type json for all #101

Merged
merged 4 commits into from
Aug 2, 2016

Conversation

thet
Copy link
Member

@thet thet commented Aug 2, 2016

  • Add @@allow_upload view, which returns a JSON string to indicate if File or Image uploads are allowed in the current container.
  • Explicitly set application/json content type for JSON responses and declare an utf-8 charset.

thet added 4 commits August 1, 2016 22:57
….allowed_types_in_context, which returns a list of all FTI ids, which can be added in the current container.
…ile or Image uploads are allowed in the current container.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants