1. Jesper Noehr
  2. django-piston
  3. Issues
Issue #200 new

piston silently drops POSTed content if it doesn't understand the content type

created an issue

since changeset 945dbda50d90, if I POST some data in a content type that django-piston does not decode (e.g. text/plain), then it silently ignores the content and sets the request data to None.

This seems like a bug: if user is posting a bad content type then it should be returning and logging an error, not silently swallowing the data.

Comments (0)

  1. Log in to comment