HTTP of Future Past

3c9c4267bb4bf7e4cdbdb0d07f858eb7?s=47 BigBlueHat
September 27, 2014

HTTP of Future Past

Bringing back the greatness of HTTP/1.1 Beta...and other bits on pushing HTTP farther for fun.

3c9c4267bb4bf7e4cdbdb0d07f858eb7?s=128

BigBlueHat

September 27, 2014
Tweet

Transcript

  1. 2.
  2. 5.

    “ ” An intriguing possibility, given a large hypertext database

    with typed links, is that it allows some degree of automatic analysis.
  3. 8.

    HTTP/1.1 Beta – RFC 2068  One year (1997) before

    RFC 2616 (1998)  Lots of good stuff  Much of it got removed  Due to lack of implementation…
  4. 9.

    HTTP/1.1 Beta – RFC 2068 …gone, daddy gone…  Methods:

    PATCH LINK, UNLINK  Headers: Alternates, Content-Version, Derived-From, Link, URI, Public and Content-Base
  5. 13.

    From: byoung@bigbluehat  Not for “insecure…access protection” (fine)  How

    ‘bout Verification?!  “the request is being performed on behalf of the person given, who accepts responsibility for the method performed” – RFC 2616  Send (typical) “click to confirm” email
  6. 14.

    LINK / UNLINK  LINK /html/rfc2068 Host: tools.ietf.org Link: <http://relify.com/>;

    rel="about" From: byoung@bigbluehat.com  HTTP/1.1 202 Accepted
  7. 15.

    Web Linking – RFC 5988 Brought back the “Link:” header

    “This document specifies relation types for Web links, and defines a registry for them. It also defines the use of such links in HTTP headers with the Link header field.”
  8. 16.

    RFC 5829  Link Relation Types for Simple Version Navigation

    between Web Resources version-history latest-version working-copy working-copy-of predecessor-version successor-version
  9. 20.

    UserInfo.me – profile page  http://byoung@bigbluehat.com/  GET / 

    Host: bigbluehat.com  UserInfo: byoung Content-Type: text/html
  10. 21.

    UserInfo.me – WebFinger response  http://byoung@bigbluehat.com/  GET / 

    Host: bigbluehat.com  UserInfo: byoung Content-Type: application/jrd+json
  11. 22.

    UserInfo.me – WebID response  http://byoung@bigbluehat.com/  GET / 

    Host: bigbluehat.com  UserInfo: byoung Content-Type: text/turtle
  12. 23.

    UserInfo.me – photo  http://byoung@bigbluehat.com/  GET /  Host:

    bigbluehat.com  UserInfo: byoung Content-Type: image/jpeg
  13. 24.

    UserInfo.me – redirect  http://byoung@bigbluehat.com/  GET /  Host:

    bigbluehat.com  UserInfo: byoung  HTTP/1.1 302 Found  Location: http://twitter.com/bigbluehat
  14. 26.

    UserInfo.me – heretic variant  http://byoung@bigbluehat.com/  GET / 

    Host: bigbluehat.com Authorization: YnlvdW5nOg==  Content-Type: text/html
  15. 27.

    UserInfo.me – try it! curl http://byoung@bigbluehat.com/ curl –H “Accept: text/turtle”

    http://byoung@bigbluehat.com/ curl –H “Accept: image/jpeg” http://byoung@bigbluehat.com/ > byoung.jpg