zio / zio-http

A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers

Home Page:https://zio.dev/zio-http

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serving static files with SSL does not work

WesselVS opened this issue Β· comments

Describe the bug
Serving static files with SSL does not work. Headers are sent but no content is delivered. Note: compression is disabled
This used to work in RC6.

To Reproduce
Steps to reproduce the behaviour:

  • Setup server SSL certificate
  • Add route to a static file, use Handler.fromFile
  • Browser will not display contents, but headers are available

Expected behaviour
The full file contents should be transferred.

/bounty $75

πŸ’Ž $75 bounty β€’ ZIO

Steps to solve:

  1. Start working: Comment /attempt #2875 with your implementation plan
  2. Submit work: Create a pull request including /claim #2875 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to zio/zio-http!

Add a bounty β€’ Share on socials

Attempt Started (GMT+0) Solution
🟒 @kyri-petrou #2879

πŸ’‘ @kyri-petrou submitted a pull request that claims the bounty. You can visit your bounty board to reward.

πŸŽ‰πŸŽˆ @kyri-petrou has been awarded $75! 🎈🎊