redpipe icon indicating copy to clipboard operation
redpipe copied to clipboard

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

Open aesteve opened this issue 7 years ago • 1 comments

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.

aesteve avatar Jun 11 '18 08:06 aesteve

Thanks!

FroMage avatar Jun 11 '18 08:06 FroMage