Category Archives: Safari

Safari Can’t REST

I’ve been working on an authentication system for TurboGears and my forthcoming Content Management System.

I really wanted to support a REST interface to the admin console. For example:

GET /admin/user/jeff HTTP/1.1 Accept: text/javascript

Should return a JSON formatted object containing my user record. That actually works great.

The admin console will interact with the server by creating Ajax requests [...]