redpipe
redpipe copied to clipboard
Response is never sent if no content-type specified (and using rx classes)
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 noMessageBodyWritercan be found for dealing withapplication/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.
Thanks!