jerakeen.org

by Tom Insam

notes☴

code☷

links☲

photos☵

OAuth and HTTP caching

OAuth and HTTP caching

created 23 September 2009 in links tagged headers, http, oauth and security.

Every single piece of infrastructure that people are using on the Web today was developed after the authenticate headers were designed. If people have designed a scripting host in such a fashion that the information does not make it through, that is clearly either a deliberate decision on their part or the system is so clueless that you probably don’t want to use it for any security related application in any case.

http://www.ietf.org/mail-archive/web/oauth/current/msg003...

Bigcurl HTTPush

Bigcurl HTTPush

created 17 June 2009 in links tagged apple, http, iphone and push.

iiinteresting, a hosted iPhone push service. might solve the scaling things I was worried about..

http://www.httpush.com/

iCal calendar push

iCal calendar push

created 08 September 2008 in notes tagged calendar, dopplr, http, ical, upload and webdav.

There’s a common misconception that iCal uses WebDAV to upload calendars to remove servers. This bites me every so often, as I wrote the Dopplr iCal upload code and people tend to assume that if iCal can upload calendars, so should any other local calendar client that uses WebDAV. And they can’t - things break.

iCal actually does the simplest thing that could possibly work, and I love it for this. You give it a upload url, a username, and a password. The calendar you’re uploading has a name. iCal url-encodes the calendar name, and builds a calendar URL that looks like http://upload_url/calendar_name.ics. Then it does an HTTP PUT (authenticated with the username and password) of the contents of the calendar to that URL. Then it gives the url to the user and tells them that their calendar is here.

(As an aside, this means that you can upload more than one calendar into Dopplr, as long as they all have different names.)

That’s it. Exactly one HTTP call, one verb (Well, ok, there’s another verb. When you unpublish something, iCal sends an HTTP DELETE. But you knew that). It’s a subset of WebDAV, which is why iCal can also publish to WebDAV servers. But I was able to implement 60% of the iCal upload feature in Dopplr during the tea break in the middle of the meeting where someone came up with the idea, because adding support for a single extra verb to a single extra path is easy. Implementing WebDAV? Harder to get right.

Meteor

Meteor

created 21 June 2007 in links tagged http, perl, server and streaming.

shiny shiny perl web server for long-running data connections. I vaguely remember something at hack day using this. Real-time wireless stats, I think.

http://meteorserver.org/

HTTP/1.1: Header Field Definitions

HTTP/1.1: Header Field Definitions

created 16 November 2006 in links tagged content-range, headers and http.

I hate HTTP headers. But I need this one.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#se...

Continuing Intermittent Incoherency » Comet: Low Latency Data for the Browser

Continuing Intermittent Incoherency » Comet: Low Latency Data for the Browser

created 11 April 2006 in links tagged async, comet and http.

http://alex.dojotoolkit.org/?p=545

XML.com: Doing HTTP Caching Right: Introducing httplib2

XML.com: Doing HTTP Caching Right: Introducing httplib2

created 14 February 2006 in links tagged cache and http.

http://www.xml.com/lpt/a/2006/02/01/doing-http-caching-ri...