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

[Stable10] AppFramework do not get default response #508

Merged
merged 1 commit into from
Jul 25, 2016

Conversation

rullzer
Copy link
Member

@rullzer rullzer commented Jul 21, 2016

The OCSResponse differs from other responses in that it defaults to
XML. However we fell back to json by default.

This makes sure that if nothing is set we don't pass anything.
Which defaults then to the controllers default (which is often 'json')
but in the case of the OCSResponse 'xml'.

Backport of #480
Since @schiessle wants to use this already :)

CC: @LukasReschke @nickvergessen @BernhardPosselt

The OCSResponse differs from other responses in that it defaults to
XML. However we fell back to json by default.

This makes sure that if nothing is set we don't pass anything.
Which defaults then to the controllers default (which is often 'json')
but in the case of the OCSResponse 'xml'.
@rullzer rullzer added the 3. to review Waiting for reviews label Jul 21, 2016
@rullzer rullzer added this to the Nextcloud 10.0 milestone Jul 21, 2016
@mention-bot
Copy link

@rullzer, thanks for your PR! By analyzing the annotation information on this pull request, we identified @BernhardPosselt, @DeepDiver1975 and @MorrisJobke to be potential reviewers

@icewind1991
Copy link
Member

👍

1 similar comment
@MorrisJobke
Copy link
Member

👍

@MorrisJobke MorrisJobke merged commit d181301 into stable10 Jul 25, 2016
@MorrisJobke MorrisJobke deleted the stable10_ocs_appframework_xml branch July 25, 2016 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants