Skip to content

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
R0Wi pushed a commit to R0Wi/server that referenced this pull request Nov 22, 2025
fix: correct env var parsing when there is only one entry
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.

5 participants