~/ on the Range: Handling Range Requests with Node.js and the HTTP/1.1 Spec

Posted on Jan 17, 2013 (one year ago). Seen 537 times. No comments. Permalink Feed
Photo Max Walker
Producer
NewCircle, Inc.
Member since Sep 29, 2010
Location: San Francisco
Stream Posts: 295
Tagged as: HTML5 HTTP Node.js Video

Kit Cambridge shows you how to handle range requests for the HTTP/1.1 spec and Node.js in this video from HTML5 Dev Conf:

What do download accelerators, streaming video, and the HTML5 <audio> element have in common?

They all rely on range requests to transmit data efficiently. Range requests are HTTP's brilliantly simple answer to the question, "How do I download just a portion of a given file?" Although they're supported by most web frameworks, Node doesn't handle range requests out of the box. To that end, we'll be going down to the bare metal as we examine the relevant portions of the HTTP/1.1 spec, learn how to handle such requests correctly, and discuss why they're so useful.

This post is part of HTML5 Developer Conference 3 Videos.

Comments

Be the first one to post a comment!