github sparckles/Robyn v0.19.2
v0.19.2 - allow response headers and fix headers not working in const requests

latest releases: v0.72.2, v0.72.1, v0.72.0...
2 years ago

What's Changed

  • fix: factorizing code by @AntoineRR in #322
  • fix: allow response headers and fix headers not working in const requests by @sansyrox in #331

Full Changelog: v0.19.1...v0.19.2

Usage

You can return headers like:

@app.get("/redirect")
async def redirect(request):
    return {
        "status_code": "200",
        "body": "test message",
        "type": "text",
        "headers": jsonify({"Header": "value"}),
    }

Don't miss a new Robyn release

NewReleases is sending notifications on new releases.