Request for Comments: 2616 UC Irvine"
'via Blog this'
Python Diary | Good use for the Http-Accept header?Python Diary | Good use for the Http-Accept header?: "While working on a project which needs to use JSON for AJAX functions, I thought about using the Http-Accept header to return content depending on what the client asks. Most web browsers send this header, and it is usually on the lines of, I accept anything in the XML mimetypes, including HTML. Since headers can be set from jQuery and various client software, I thought... Why not take advantage of this Http-Accept header and build a Django middleware to return the content which is accepted by the client. So far, it only detects and returns JSON, and there is no caching enabled. Keep in mind that this is my very first version of this middleware, which I did test and works as expected."
View decorators | Django documentation | DjangoView decorators | Django documentation | Django: "The decorators in django.views.decorators.http can be used to restrict access to views based on the request method. These decorators will return a django.http.HttpResponseNotAllowed if the conditions are not met.
Django snippets: Accept Header MiddlewareDjango snippets: Accept Header Middleware: "Accept Header Middleware
REST APIs must be hypertext-driven » UntangledREST APIs must be hypertext-driven » Untangled: "I am getting frustrated by the number of people calling any HTTP-based interface a REST API. Today’s example is the SocialSite REST API. That is RPC. It screams RPC. There is so much coupling on display that it should be given an X rating."
HATEOAS - Wikipedia, the free encyclopediaHATEOAS - Wikipedia, the free encyclopedia: "
Welcome to Tastypie! — Tastypie 0.9.12-alpha documentationWelcome to Tastypie! — Tastypie 0.9.12-alpha documentation: "Tastypie is an webservice API framework for Django. It provides a convenient, yet powerful and highly customizable, abstraction for creating REST-style interfaces."
django-backbone 0.2.3 : Python Package Indexdjango-backbone 0.2.3 : Python Package Index: "This app provides a Backbone.js compatible REST API for your models. It follows the Django admin pattern of extending, overriding and registering; and provides an extendable class based view for customization.
Syncing Backbone Models in Real Time Over Socket.io | FlowdockSyncing Backbone Models in Real Time Over Socket.io | Flowdock: "The New Flowdock was built from the ground up on top of Backbone.js. Since Flowdock is all about real-time messaging, our web app posts and receives messages via a Socket.io backend. To support saving messages through Socket.io instead of a REST API, we wrote a custom Backbone.sync method."
New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.
Keep up with the latest Advogato features by reading the Advogato status blog.
If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!