Source

django-piston / piston / utils.py

Author Commit Message Labels Comments Date
Joshua Ginsberg
Merged 3a0d021dd042 from andialbrecht/django-piston-hmacfix
Andi Albrecht
Use _base_content_is_iter or _is_string on HttpResponse depending on Django version.
Branches
django1.4
Joshua Ginsberg
Added support for HTTP Accept header; explicit format in request string overrides Accept header; if settings.PISTON_STRICT_ACCEPT_HANDLING is set to True, a HTTP status 406 is returned; requires mimeparse library to enable; Fixes #182
Joshua Ginsberg
Added rc response for HTTP status code 202 - Fixes #204
Joshua Ginsberg
Fixes #188 - bind request.FILES to form in @validate decorator
Jesper Nøhr
cleaning up for style, adding rockhoward to AUTHORS.txt
Jesper Nøhr
ro...@user1-desktop
Improved valiadate decorator provides the validated form via the request
Matt Cordes
adding ability to return content to be formatted by an emitter and a custom status code. This time were extending the existing rc_factory functionality in piston.utils
Alexander Ljungberg
Merge.
Alexander Ljungberg
Fixed: if for a PUT operation some middleware accessed request.POST, the coerce_put_post fix for Django's lack of PUT support would cause an exception. This fix resets the request so that coerce can work its magic.
Jesper Nøhr
content_type is lose, fixes #99
Jesper Nøhr
not loading unpickler by default, wrapping yaml unpacker with lambda-dict to not return crappy data, as it will otherwise, fixing a testcase with wrong content type
Jesper Nøhr
only send emails if there's a user on the consumer
Jesper Nøhr
time import needed
Jesper Nøhr
bumping version to 0.2.3rc1
Jesper Nøhr
pulling mmalone's throttle changes, lets hope they're correct
Jesper Nøhr
fixed tests
David Larlet
Check the existence of loadee before calling it
Joe Stump
- Added Consumer to request object.
Joe Stump
- Fail silently if email templates are not present.
jst...@joseph-stumps-macbook-pro.local
- Moved email sending into Django signals in signals.py
Jesper Nøhr
applying patch from #46, thanks gciotta
Jesper Nøhr
cleaning up cset from RobotAdam a bit to be consistent with our style
Adam Lowry
POSTs and PUTs with invalid data for the content-type return 400 Bad Request
theatilla
Fixing the Mimer behavior for identifying whether the content should be processed and placed in request.data or kept in the request.POST/PUT.
Jesper Nøhr
importing patches from bmcmurray, fixes #42 and #43, adjusting testcases to expect indented json
Jesper Nøhr
only dispatching to anonymous handler is it wants the method. using AnonymousUser instead of False for failed auth
Jesper Nøhr
coerce_put_post is now mod_python compatible, fixes #39
Tags
0.2.1
Horst Gutmann
Made a minimal change to utils.coerce_put_post to support file-uploads
  1. Prev
  2. 1
  3. 2
  4. Next