Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

No Content Required

Compare
Choose a tag to compare
@bruth bruth released this 14 Mar 19:49
· 9 commits to master since this release

Fix is a small release that removes the need to explicitly pass content in Resource.render. In addition all responses will be checked for whether they do not contain content and will have their status code set to 204 No Content if the following conditions are met:

  • The status code is 200 OK
  • The content is empty
  • The response does not contain a Content-Disposition header

See #7 for details