hapic icon indicating copy to clipboard operation
hapic copied to clipboard

Raise 400 error in case of content_type json but empty body

Open inkhey opened this issue 5 years ago • 0 comments

Currently:

origin : https://github.com/algoo/hapic/issues/184 We accept empty body of content_type json request in pyramid context (and maybe other context)

Expected:

  • Raise 400 error in case of unvalid json for content_type json request, including empty body, on all context (to have similar behavior)
  • Tracim should work with https://github.com/tracim/tracim/issues/1871 fix.

inkhey avatar Jun 07 '19 06:06 inkhey