-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The problem is that I want to store authentication in a cookie that I can present to django piston rather than requiring user/password to be typed in each time (without hardcoding or storing the user/pass combo somewhere on disk). I was hoping to accomplish this with cookies like someone would without…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I trying to restful server that one can upload image, By use django-piston I can put,get,post information restfully but don't know how to upload image.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am working on a Silverlight project that uses Django on the server using piston for the REST API. I understand that Silverlight doesn't support the PUT and DELETE http verbs. Is there another way i can pass these kinds of commands to piston?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
To start, I'm very new to python, let alone Django and Piston.
Anyway, I've created a new BaseHandler class "class BaseApiHandler(BaseHandler)" so that I can extend some of the stff that BaseHandler does. This has been working fine until I added a new filter that could limit results to the first…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to PUT data using libcurl to mimic the command
curl -u test:test -X PUT --data-binary @data.yaml "http://127.0.0.1:8000/foo/"
which works correctly. My options look like:
curl_easy_setopt(handle, CURLOPT_USERPWD, "test:test");
curl_easy_setopt(handle, CURLOPT_URL, "http://127.0.0.1:8000/foo/");
curl_easy_setopt(handle…
>>> More