Metadata Query Protocol
draft-young-md-query-00

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2013-08-16
Stream (None)
Intended RFC status (None)
Formats plain text pdf html bibtex
Additional URLs
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                      I. Young, Ed.
Internet-Draft                                               Independent
Intended status: Informational                           August 16, 2013
Expires: February 17, 2014

                        Metadata Query Protocol
                        draft-young-md-query-00

Abstract

   This document defines a simple protocol for retrieving metadata about
   entities.  The goal of the protocol is to profile various aspects of
   HTTP to allow requesters to rely on certain, rigorously defined,
   behaviour.

Status of this Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on February 17, 2014.

Copyright Notice

   Copyright (c) 2013 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.

Young                   Expires February 17, 2014               [Page 1]
Internet-Draft           Metadata Query Protocol             August 2013

Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  3
     1.1.  Notation and Convention  . . . . . . . . . . . . . . . . .  3
     1.2.  Terminology  . . . . . . . . . . . . . . . . . . . . . . .  3
   2.  Protocol Transport . . . . . . . . . . . . . . . . . . . . . .  4
     2.1.  HTTP Version . . . . . . . . . . . . . . . . . . . . . . .  4
     2.2.  HTTP Method  . . . . . . . . . . . . . . . . . . . . . . .  4
     2.3.  Request Headers  . . . . . . . . . . . . . . . . . . . . .  4
     2.4.  Response Headers . . . . . . . . . . . . . . . . . . . . .  4
     2.5.  Status Codes . . . . . . . . . . . . . . . . . . . . . . .  5
     2.6.  Base URL . . . . . . . . . . . . . . . . . . . . . . . . .  5
     2.7.  Content Negotiation  . . . . . . . . . . . . . . . . . . .  6
   3.  Metadata Query Protocol  . . . . . . . . . . . . . . . . . . .  7
     3.1.  Identifiers  . . . . . . . . . . . . . . . . . . . . . . .  7
       3.1.1.  Transforms . . . . . . . . . . . . . . . . . . . . . .  7
     3.2.  Protocol . . . . . . . . . . . . . . . . . . . . . . . . .  7
       3.2.1.  Request  . . . . . . . . . . . . . . . . . . . . . . .  7
       3.2.2.  Response . . . . . . . . . . . . . . . . . . . . . . .  8
       3.2.3.  Example Request and Response . . . . . . . . . . . . .  8
   4.  Efficient Retrieval and Caching  . . . . . . . . . . . . . . .  9
     4.1.  Conditional Retrieval  . . . . . . . . . . . . . . . . . .  9
     4.2.  Content Caching  . . . . . . . . . . . . . . . . . . . . .  9
     4.3.  Content Compression  . . . . . . . . . . . . . . . . . . .  9
   5.  Security Considerations  . . . . . . . . . . . . . . . . . . . 10
     5.1.  Integrity  . . . . . . . . . . . . . . . . . . . . . . . . 10
     5.2.  Confidentiality  . . . . . . . . . . . . . . . . . . . . . 10
     5.3.  Authentication . . . . . . . . . . . . . . . . . . . . . . 10
   6.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 11
   7.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 12
   8.  Normative References . . . . . . . . . . . . . . . . . . . . . 13
   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 14

Young                   Expires February 17, 2014               [Page 2]
Internet-Draft           Metadata Query Protocol             August 2013

1.  Introduction

   Many clients of web-based services are capable of consuming
   descriptive metadata about a service in order to customize or
   information the client's connection parameters.  While the form of
   the metadata (e.g..  JSON, XML) and content varies between services
   this document attempts to specifies a set of semantics for HTTP
   [RFC2616] that allow clients to rely on certain behavior.  The
   defined behavior is meant to make it easy for clients to perform
   queries, to be efficient for both requesters and responders, and
   allow the responder to scale in various ways.

1.1.  Notation and Convention

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
Show full document text