Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

Response is never sent if no content-type specified (and using rx classes) #40

Open
aesteve opened this issue Jun 11, 2018 · 1 comment
Labels

Comments

@aesteve
Copy link
Contributor

aesteve commented Jun 11, 2018

Version 0.0.2.

Here's a full repo reproducing the issue.

Just run ./gradlew test and you should see what's going wrong.

3 routes have been defined :

  • 1 returning a Single, annotated as producing JSON => works perfectly fine
  • 1 returning a List, not annotated as producing anything => returns a proper HTTP 500 saying that no MessageBodyWriter can be found for dealing with application/octet-stream => lgtm
  • 1 returning a  Single, not annotating as producing anything => the response is never sent back. Test timeout occurs

Let me know if you need anything else.

@FroMage FroMage added the bug label Jun 11, 2018
@FroMage
Copy link
Owner

FroMage commented Jun 11, 2018

Thanks!

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

No branches or pull requests

2 participants