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

v1.2.0

Latest
Compare
Choose a tag to compare
@s-thom s-thom released this 03 Jan 07:04
· 37 commits to main since this release
  • Add content length limit for creating new pastes.
    • 64MB should be enough for most purposes.
    • The script for Shrek is 52kB of plain text, so you could fit over 1000 Shrek scripts in a single file and save it to a paste instance.
    • Why would you ever want to do that?
  • Fix authorization header format being invalid.
    • The authorization header content is Bearer <token>, as per the spec.
  • Add cache-control header.
    • Pastes can be cached for 1 day from last request.
    • Traffic is likely to be bursty, rather than consistent, so I think this is a good compromise between not hammering the server and keeping fresh content in case I ever add a way to edit pastes.