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

add response headers to responses for Call<T> Retrofit methods #543

Merged
merged 4 commits into from
Apr 21, 2023

Conversation

desperateCoder
Copy link
Contributor

For now, only the Observable<T> calls can get response headers.

We (Nextcloud Deck for Android) wanted to get rid of RxJava in our project, so we migrated to Call<T> provided by Retrofit.

In this case, the Headers weren't included in the responses.

CC: @David-Development @tobiasKaminsky

@stefan-niedermann
Copy link
Member

Tested in real live project, works like a charm.

@tobiasKaminsky tobiasKaminsky merged commit b4e587a into nextcloud:master Apr 21, 2023
@AndyScherzinger AndyScherzinger added this to the SSO Library 0.8.0 milestone May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants