source: draft-ietf-httpbis/04/p7-auth.html @ 314

Last change on this file since 314 was 314, checked in by julian.reschke@…, 11 years ago

prepare publication of draft -04

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/html;charset=utf-8
File size: 60.1 KB
Line 
1<!DOCTYPE html
2  PUBLIC "-//W3C//DTD HTML 4.01//EN">
3<html lang="en">
4   <head profile="http://www.w3.org/2006/03/hcard">
5      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6      <title>HTTP/1.1, part 7: Authentication</title><style type="text/css" title="Xml2Rfc (sans serif)">
7a {
8  text-decoration: none;
9}
10a.smpl {
11  color: black;
12}
13a:hover {
14  text-decoration: underline;
15}
16a:active {
17  text-decoration: underline;
18}
19address {
20  margin-top: 1em;
21  margin-left: 2em;
22  font-style: normal;
23}
24body {
25  color: black;
26  font-family: verdana, helvetica, arial, sans-serif;
27  font-size: 10pt;
28}
29cite {
30  font-style: normal;
31}
32dd {
33  margin-right: 2em;
34}
35dl {
36  margin-left: 2em;
37}
38
39dl.empty dd {
40  margin-top: .5em;
41}
42dl p {
43  margin-left: 0em;
44}
45dt {
46  margin-top: .5em;
47}
48h1 {
49  font-size: 14pt;
50  line-height: 21pt;
51  page-break-after: avoid;
52}
53h1.np {
54  page-break-before: always;
55}
56h1 a {
57  color: #333333;
58}
59h2 {
60  font-size: 12pt;
61  line-height: 15pt;
62  page-break-after: avoid;
63}
64h2 a {
65  color: black;
66}
67h3 {
68  font-size: 10pt;
69  page-break-after: avoid;
70}
71h3 a {
72  color: black;
73}
74h4 {
75  font-size: 10pt;
76  page-break-after: avoid;
77}
78h4 a {
79  color: black;
80}
81h5 {
82  font-size: 10pt;
83  page-break-after: avoid;
84}
85h5 a {
86  color: black;
87}
88img {
89  margin-left: 3em;
90}
91li {
92  margin-left: 2em;
93  margin-right: 2em;
94}
95ol {
96  margin-left: 2em;
97  margin-right: 2em;
98}
99ol p {
100  margin-left: 0em;
101}
102p {
103  margin-left: 2em;
104  margin-right: 2em;
105}
106pre {
107  margin-left: 3em;
108  background-color: lightyellow;
109  padding: .25em;
110}
111pre.text2 {
112  border-style: dotted;
113  border-width: 1px;
114  background-color: #f0f0f0;
115  width: 69em;
116}
117pre.inline {
118  background-color: white;
119  padding: 0em;
120}
121pre.text {
122  border-style: dotted;
123  border-width: 1px;
124  background-color: #f8f8f8;
125  width: 69em;
126}
127pre.drawing {
128  border-style: solid;
129  border-width: 1px;
130  background-color: #f8f8f8;
131  padding: 2em;
132}
133table {
134  margin-left: 2em;
135}
136table.tt {
137  vertical-align: top;
138}
139table.full {
140  border-style: outset;
141  border-width: 1px;
142}
143table.headers {
144  border-style: outset;
145  border-width: 1px;
146}
147table.tt td {
148  vertical-align: top;
149}
150table.full td {
151  border-style: inset;
152  border-width: 1px;
153}
154table.tt th {
155  vertical-align: top;
156}
157table.full th {
158  border-style: inset;
159  border-width: 1px;
160}
161table.headers th {
162  border-style: none none inset none;
163  border-width: 1px;
164}
165table.header {
166  width: 95%;
167  font-size: 10pt;
168  color: white;
169}
170td.top {
171  vertical-align: top;
172}
173td.topnowrap {
174  vertical-align: top;
175  white-space: nowrap; 
176}
177td.header {
178  background-color: gray;
179  width: 50%;
180}
181td.header a {
182  color: white;
183}
184td.reference {
185  vertical-align: top;
186  white-space: nowrap;
187  padding-right: 1em;
188}
189thead {
190  display:table-header-group;
191}
192ul.toc {
193  list-style: none;
194  margin-left: 1.5em;
195  margin-right: 0em;
196  padding-left: 0em;
197}
198li.tocline0 {
199  line-height: 150%;
200  font-weight: bold;
201  font-size: 10pt;
202  margin-left: 0em;
203  margin-right: 0em;
204}
205li.tocline1 {
206  line-height: normal;
207  font-weight: normal;
208  font-size: 9pt;
209  margin-left: 0em;
210  margin-right: 0em;
211}
212li.tocline2 {
213  font-size: 0pt;
214}
215ul p {
216  margin-left: 0em;
217}
218ul.ind {
219  list-style: none;
220  margin-left: 1.5em;
221  margin-right: 0em;
222  padding-left: 0em;
223}
224li.indline0 {
225  font-weight: bold;
226  line-height: 200%;
227  margin-left: 0em;
228  margin-right: 0em;
229}
230li.indline1 {
231  font-weight: normal;
232  line-height: 150%;
233  margin-left: 0em;
234  margin-right: 0em;
235}
236.bcp14 {
237  font-style: normal;
238  text-transform: lowercase;
239  font-variant: small-caps;
240}
241.comment {
242  background-color: yellow;
243}
244.center {
245  text-align: center;
246}
247.error {
248  color: red;
249  font-style: italic;
250  font-weight: bold;
251}
252.figure {
253  font-weight: bold;
254  text-align: center;
255  font-size: 9pt;
256}
257.filename {
258  color: #333333;
259  font-weight: bold;
260  font-size: 12pt;
261  line-height: 21pt;
262  text-align: center;
263}
264.fn {
265  font-weight: bold;
266}
267.hidden {
268  display: none;
269}
270.left {
271  text-align: left;
272}
273.right {
274  text-align: right;
275}
276.title {
277  color: #990000;
278  font-size: 18pt;
279  line-height: 18pt;
280  font-weight: bold;
281  text-align: center;
282  margin-top: 36pt;
283}
284.vcardline {
285  display: block;
286}
287.warning {
288  font-size: 14pt;
289  background-color: yellow;
290}
291
292
293@media print {
294  .noprint {
295    display: none;
296  }
297 
298  a {
299    color: black;
300    text-decoration: none;
301  }
302
303  table.header {
304    width: 90%;
305  }
306
307  td.header {
308    width: 50%;
309    color: black;
310    background-color: white;
311    vertical-align: top;
312    font-size: 12pt;
313  }
314
315  ul.toc a::after {
316    content: leader('.') target-counter(attr(href), page);
317  }
318 
319  a.iref {
320    content: target-counter(attr(href), page);
321  }
322 
323  .print2col {
324    column-count: 2;
325    -moz-column-count: 2;
326    column-fill: auto;
327  }
328}
329
330@page {
331  @top-left {
332       content: "INTERNET DRAFT"; 
333  } 
334  @top-right {
335       content: "August 2008"; 
336  } 
337  @top-center {
338       content: "HTTP/1.1, Part 7"; 
339  } 
340  @bottom-left {
341       content: "Fielding, et al."; 
342  } 
343  @bottom-center {
344       content: "Standards Track"; 
345  } 
346  @bottom-right {
347       content: "[Page " counter(page) "]"; 
348  } 
349}
350
351@page:first { 
352    @top-left {
353      content: normal;
354    }
355    @top-right {
356      content: normal;
357    }
358    @top-center {
359      content: normal;
360    }
361}
362</style><link rel="Contents" href="#rfc.toc">
363      <link rel="Author" href="#rfc.authors">
364      <link rel="Copyright" href="#rfc.copyright">
365      <link rel="Index" href="#rfc.index">
366      <link rel="Chapter" title="1 Introduction" href="#rfc.section.1">
367      <link rel="Chapter" title="2 Notational Conventions and Generic Grammar" href="#rfc.section.2">
368      <link rel="Chapter" title="3 Status Code Definitions" href="#rfc.section.3">
369      <link rel="Chapter" title="4 Header Field Definitions" href="#rfc.section.4">
370      <link rel="Chapter" title="5 IANA Considerations" href="#rfc.section.5">
371      <link rel="Chapter" title="6 Security Considerations" href="#rfc.section.6">
372      <link rel="Chapter" title="7 Acknowledgments" href="#rfc.section.7">
373      <link rel="Chapter" href="#rfc.section.8" title="8 References">
374      <link rel="Appendix" title="A Compatibility with Previous Versions" href="#rfc.section.A">
375      <link rel="Appendix" title="B Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.B">
376      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.387, 2008-08-08 13:06:55, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
377      <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
378      <meta name="DC.Creator" content="Fielding, R.">
379      <meta name="DC.Creator" content="Gettys, J.">
380      <meta name="DC.Creator" content="Mogul, J.">
381      <meta name="DC.Creator" content="Frystyk, H.">
382      <meta name="DC.Creator" content="Masinter, L.">
383      <meta name="DC.Creator" content="Leach, P.">
384      <meta name="DC.Creator" content="Berners-Lee, T.">
385      <meta name="DC.Creator" content="Lafon, Y.">
386      <meta name="DC.Creator" content="Reschke, J. F.">
387      <meta name="DC.Identifier" content="urn:ietf:id:draft-ietf-httpbis-p7-auth-04">
388      <meta name="DC.Date.Issued" scheme="ISO8601" content="2008-08">
389      <meta name="DC.Relation.Replaces" content="urn:ietf:rfc:2616">
390      <meta name="DC.Description.Abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 7 of the seven-part specification that defines the protocol referred to as &#34;HTTP/1.1&#34; and, taken together, obsoletes RFC 2616. Part 7 defines HTTP Authentication.">
391   </head>
392   <body>
393      <table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1">
394         <tr>
395            <td class="header left">Network Working Group</td>
396            <td class="header right">R. Fielding, Editor</td>
397         </tr>
398         <tr>
399            <td class="header left">Internet Draft</td>
400            <td class="header right">Day Software</td>
401         </tr>
402         <tr>
403            <td class="header left">
404               &lt;draft-ietf-httpbis-p7-auth-04&gt;
405               
406            </td>
407            <td class="header right">J. Gettys</td>
408         </tr>
409         <tr>
410            <td class="header left">Obsoletes: <a href="http://tools.ietf.org/html/rfc2616">2616</a> (if approved)
411            </td>
412            <td class="header right">One Laptop per Child</td>
413         </tr>
414         <tr>
415            <td class="header left">Updates: <a href="http://tools.ietf.org/html/rfc2617">2617</a> (if approved)
416            </td>
417            <td class="header right">J. Mogul</td>
418         </tr>
419         <tr>
420            <td class="header left">Intended status: Standards Track</td>
421            <td class="header right">HP</td>
422         </tr>
423         <tr>
424            <td class="header left">Expires: February 2009</td>
425            <td class="header right">H. Frystyk</td>
426         </tr>
427         <tr>
428            <td class="header left"></td>
429            <td class="header right">Microsoft</td>
430         </tr>
431         <tr>
432            <td class="header left"></td>
433            <td class="header right">L. Masinter</td>
434         </tr>
435         <tr>
436            <td class="header left"></td>
437            <td class="header right">Adobe Systems</td>
438         </tr>
439         <tr>
440            <td class="header left"></td>
441            <td class="header right">P. Leach</td>
442         </tr>
443         <tr>
444            <td class="header left"></td>
445            <td class="header right">Microsoft</td>
446         </tr>
447         <tr>
448            <td class="header left"></td>
449            <td class="header right">T. Berners-Lee</td>
450         </tr>
451         <tr>
452            <td class="header left"></td>
453            <td class="header right">W3C/MIT</td>
454         </tr>
455         <tr>
456            <td class="header left"></td>
457            <td class="header right">Y. Lafon, Editor</td>
458         </tr>
459         <tr>
460            <td class="header left"></td>
461            <td class="header right">W3C</td>
462         </tr>
463         <tr>
464            <td class="header left"></td>
465            <td class="header right">J. F. Reschke, Editor</td>
466         </tr>
467         <tr>
468            <td class="header left"></td>
469            <td class="header right">greenbytes</td>
470         </tr>
471         <tr>
472            <td class="header left"></td>
473            <td class="header right">August 29, 2008</td>
474         </tr>
475      </table>
476      <p class="title">HTTP/1.1, part 7: Authentication<br><span class="filename">draft-ietf-httpbis-p7-auth-04</span></p>
477      <h1><a id="rfc.status" href="#rfc.status">Status of this Memo</a></h1>
478      <p>By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she
479         is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section
480         6 of BCP 79.
481      </p>
482      <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note
483         that other groups may also distribute working documents as Internet-Drafts.
484      </p>
485      <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
486         documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
487         in progress”.
488      </p>
489      <p>The list of current Internet-Drafts can be accessed at &lt;<a href="http://www.ietf.org/ietf/1id-abstracts.txt">http://www.ietf.org/ietf/1id-abstracts.txt</a>&gt;.
490      </p>
491      <p>The list of Internet-Draft Shadow Directories can be accessed at &lt;<a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>&gt;.
492      </p>
493      <p>This Internet-Draft will expire in February 2009.</p>
494      <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1> 
495      <p>The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information
496         systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 7 of the
497         seven-part specification that defines the protocol referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616. Part
498         7 defines HTTP Authentication.
499      </p> 
500      <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor)</a></h1> 
501      <p>Discussion of this draft should take place on the HTTPBIS working group mailing list (ietf-http-wg@w3.org). The current issues
502         list is at &lt;<a href="http://www.tools.ietf.org/wg/httpbis/trac/report/11">http://www.tools.ietf.org/wg/httpbis/trac/report/11</a>&gt; and related documents (including fancy diffs) can be found at &lt;<a href="http://www.tools.ietf.org/wg/httpbis/">http://www.tools.ietf.org/wg/httpbis/</a>&gt;.
503      </p> 
504      <p>The changes in this draft are summarized in <a href="#changes.since.02" title="Since draft-ietf-httpbis-p7-auth-02">Appendix&nbsp;B.4</a>.
505      </p> 
506      <hr class="noprint">
507      <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1>
508      <ul class="toc">
509         <li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a><ul class="toc">
510               <li class="tocline1">1.1&nbsp;&nbsp;&nbsp;<a href="#intro.requirements">Requirements</a></li>
511            </ul>
512         </li>
513         <li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#notation">Notational Conventions and Generic Grammar</a></li>
514         <li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3">Status Code Definitions</a><ul class="toc">
515               <li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#status.401">401 Unauthorized</a></li>
516               <li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#status.407">407 Proxy Authentication Required</a></li>
517            </ul>
518         </li>
519         <li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#header.fields">Header Field Definitions</a><ul class="toc">
520               <li class="tocline1">4.1&nbsp;&nbsp;&nbsp;<a href="#header.authorization">Authorization</a></li>
521               <li class="tocline1">4.2&nbsp;&nbsp;&nbsp;<a href="#header.proxy-authenticate">Proxy-Authenticate</a></li>
522               <li class="tocline1">4.3&nbsp;&nbsp;&nbsp;<a href="#header.proxy-authorization">Proxy-Authorization</a></li>
523               <li class="tocline1">4.4&nbsp;&nbsp;&nbsp;<a href="#header.www-authenticate">WWW-Authenticate</a></li>
524            </ul>
525         </li>
526         <li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#IANA.considerations">IANA Considerations</a><ul class="toc">
527               <li class="tocline1">5.1&nbsp;&nbsp;&nbsp;<a href="#message.header.registration">Message Header Registration</a></li>
528            </ul>
529         </li>
530         <li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#security.considerations">Security Considerations</a><ul class="toc">
531               <li class="tocline1">6.1&nbsp;&nbsp;&nbsp;<a href="#auth.credentials.and.idle.clients">Authentication Credentials and Idle Clients</a></li>
532            </ul>
533         </li>
534         <li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#ack">Acknowledgments</a></li>
535         <li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a><ul class="toc">
536               <li class="tocline1">8.1&nbsp;&nbsp;&nbsp;<a href="#rfc.references.1">Normative References</a></li>
537               <li class="tocline1">8.2&nbsp;&nbsp;&nbsp;<a href="#rfc.references.2">Informative References</a></li>
538            </ul>
539         </li>
540         <li class="tocline0"><a href="#rfc.authors">Authors' Addresses</a></li>
541         <li class="tocline0">A.&nbsp;&nbsp;&nbsp;<a href="#compatibility">Compatibility with Previous Versions</a><ul class="toc">
542               <li class="tocline1">A.1&nbsp;&nbsp;&nbsp;<a href="#changes.from.rfc.2616">Changes from RFC 2616</a></li>
543            </ul>
544         </li>
545         <li class="tocline0">B.&nbsp;&nbsp;&nbsp;<a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul class="toc">
546               <li class="tocline1">B.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B.1">Since RFC2616</a></li>
547               <li class="tocline1">B.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B.2">Since draft-ietf-httpbis-p7-auth-00</a></li>
548               <li class="tocline1">B.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B.3">Since draft-ietf-httpbis-p7-auth-01</a></li>
549               <li class="tocline1">B.4&nbsp;&nbsp;&nbsp;<a href="#changes.since.02">Since draft-ietf-httpbis-p7-auth-02</a></li>
550               <li class="tocline1">B.5&nbsp;&nbsp;&nbsp;<a href="#changes.since.03">Since draft-ietf-httpbis-p7-auth-03</a></li>
551            </ul>
552         </li>
553         <li class="tocline0"><a href="#rfc.ipr">Intellectual Property and Copyright Statements</a></li>
554         <li class="tocline0"><a href="#rfc.index">Index</a></li>
555      </ul>
556      <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="introduction" href="#introduction">Introduction</a></h1>
557      <p id="rfc.section.1.p.1">This document defines HTTP/1.1 access control and authentication. Right now it includes the extracted relevant sections of <cite title="Hypertext Transfer Protocol -- HTTP/1.1" id="rfc.xref.RFC2616.1">RFC 2616</cite> with only minor changes. The intention is to move the general framework for HTTP authentication here, as currently specified
558         in <a href="#RFC2617" id="rfc.xref.RFC2617.1"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>, and allow the individual authentication mechanisms to be defined elsewhere. This introduction will be rewritten when that
559         occurs.
560      </p>
561      <p id="rfc.section.1.p.2">HTTP provides several <em class="bcp14">OPTIONAL</em> challenge-response authentication mechanisms which can be used by a server to challenge a client request and by a client to
562         provide authentication information. The general framework for access authentication, and the specification of "basic" and
563         "digest" authentication, are specified in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.2"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>. This specification adopts the definitions of "challenge" and "credentials" from that specification.
564      </p>
565      <h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;<a id="intro.requirements" href="#intro.requirements">Requirements</a></h2>
566      <p id="rfc.section.1.1.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL"
567         in this document are to be interpreted as described in <a href="#RFC2119" id="rfc.xref.RFC2119.1"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>.
568      </p>
569      <p id="rfc.section.1.1.p.2">An implementation is not compliant if it fails to satisfy one or more of the <em class="bcp14">MUST</em> or <em class="bcp14">REQUIRED</em> level requirements for the protocols it implements. An implementation that satisfies all the <em class="bcp14">MUST</em> or <em class="bcp14">REQUIRED</em> level and all the <em class="bcp14">SHOULD</em> level requirements for its protocols is said to be "unconditionally compliant"; one that satisfies all the <em class="bcp14">MUST</em> level requirements but not all the <em class="bcp14">SHOULD</em> level requirements for its protocols is said to be "conditionally compliant."
570      </p>
571      <h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a>&nbsp;<a id="notation" href="#notation">Notational Conventions and Generic Grammar</a></h1>
572      <p id="rfc.section.2.p.1">This specification uses the ABNF syntax defined in <a href="p1-messaging.html#notation.abnf" title="Augmented BNF">Section 2.1</a> of <a href="#Part1" id="rfc.xref.Part1.1"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. <span class="comment">[abnf.dep: ABNF syntax and basic rules will be adopted from RFC 5234, see &lt;<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;.]</span> 
573      </p>
574      <div id="abnf.dependencies">
575         <p id="rfc.section.2.p.2">    The ABNF rules below are defined in other specifications:</p>
576      </div>
577      <div id="rfc.figure.u.1"></div><pre class="inline"><span id="rfc.iref.g.1"></span><span id="rfc.iref.g.2"></span>  <a href="#abnf.dependencies" class="smpl">challenge</a>   = &lt;challenge, defined in <a href="#RFC2617" id="rfc.xref.RFC2617.3"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>, <a href="http://tools.ietf.org/html/rfc2617#section-1.2">Section 1.2</a>&gt;
578  <a href="#abnf.dependencies" class="smpl">credentials</a> = &lt;credentials, defined in <a href="#RFC2617" id="rfc.xref.RFC2617.4"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>, <a href="http://tools.ietf.org/html/rfc2617#section-1.2">Section 1.2</a>&gt;
579</pre><h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a>&nbsp;Status Code Definitions
580      </h1>
581      <div id="rfc.iref.2"></div>
582      <div id="rfc.iref.s.1"></div>
583      <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;<a id="status.401" href="#status.401">401 Unauthorized</a></h2>
584      <p id="rfc.section.3.1.p.1">The request requires user authentication. The response <em class="bcp14">MUST</em> include a WWW-Authenticate header field (<a href="#header.www-authenticate" id="rfc.xref.header.www-authenticate.1" title="WWW-Authenticate">Section&nbsp;4.4</a>) containing a challenge applicable to the requested resource. The client <em class="bcp14">MAY</em> repeat the request with a suitable Authorization header field (<a href="#header.authorization" id="rfc.xref.header.authorization.1" title="Authorization">Section&nbsp;4.1</a>). If the request already included Authorization credentials, then the 401 response indicates that authorization has been
585         refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has
586         already attempted authentication at least once, then the user <em class="bcp14">SHOULD</em> be presented the entity that was given in the response, since that entity might include relevant diagnostic information. HTTP
587         access authentication is explained in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.5"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>.
588      </p>
589      <div id="rfc.iref.3"></div>
590      <div id="rfc.iref.s.2"></div>
591      <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;<a id="status.407" href="#status.407">407 Proxy Authentication Required</a></h2>
592      <p id="rfc.section.3.2.p.1">This code is similar to 401 (Unauthorized), but indicates that the client must first authenticate itself with the proxy. The
593         proxy <em class="bcp14">MUST</em> return a Proxy-Authenticate header field (<a href="#header.proxy-authenticate" id="rfc.xref.header.proxy-authenticate.1" title="Proxy-Authenticate">Section&nbsp;4.2</a>) containing a challenge applicable to the proxy for the requested resource. The client <em class="bcp14">MAY</em> repeat the request with a suitable Proxy-Authorization header field (<a href="#header.proxy-authorization" id="rfc.xref.header.proxy-authorization.1" title="Proxy-Authorization">Section&nbsp;4.3</a>). HTTP access authentication is explained in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.6"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>.
594      </p>
595      <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a>&nbsp;<a id="header.fields" href="#header.fields">Header Field Definitions</a></h1>
596      <p id="rfc.section.4.p.1">This section defines the syntax and semantics of HTTP/1.1 header fields related to authentication.</p>
597      <div id="rfc.iref.a.1"></div>
598      <div id="rfc.iref.h.1"></div>
599      <h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a>&nbsp;<a id="header.authorization" href="#header.authorization">Authorization</a></h2>
600      <p id="rfc.section.4.1.p.1">A user agent that wishes to authenticate itself with a server-- usually, but not necessarily, after receiving a 401 response--does
601         so by including an Authorization request-header field with the request. The Authorization field value consists of credentials
602         containing the authentication information of the user agent for the realm of the resource being requested.
603      </p>
604      <div id="rfc.figure.u.2"></div><pre class="inline"><span id="rfc.iref.g.3"></span>  <a href="#header.authorization" class="smpl">Authorization</a>  = "Authorization" ":" <a href="#abnf.dependencies" class="smpl">credentials</a>
605</pre><p id="rfc.section.4.1.p.3">HTTP access authentication is described in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.7"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>. If a request is authenticated and a realm specified, the same credentials <em class="bcp14">SHOULD</em> be valid for all other requests within this realm (assuming that the authentication scheme itself does not require otherwise,
606         such as credentials that vary according to a challenge value or using synchronized clocks).
607      </p>
608      <p id="rfc.section.4.1.p.4">When a shared cache (see <a href="p6-cache.html#shared.and.non-shared.caches" title="Shared and Non-Shared Caches">Section 9</a> of <a href="#Part6" id="rfc.xref.Part6.1"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>) receives a request containing an Authorization field, it <em class="bcp14">MUST NOT</em> return the corresponding response as a reply to any other request, unless one of the following specific exceptions holds:
609      </p>
610      <p id="rfc.section.4.1.p.5"> </p>
611      <ol>
612         <li>If the response includes the "s-maxage" cache-control directive, the cache <em class="bcp14">MAY</em> use that response in replying to a subsequent request. But (if the specified maximum age has passed) a proxy cache <em class="bcp14">MUST</em> first revalidate it with the origin server, using the request-headers from the new request to allow the origin server to authenticate
613            the new request. (This is the defined behavior for s-maxage.) If the response includes "s-maxage=0", the proxy <em class="bcp14">MUST</em> always revalidate it before re-using it.
614         </li>
615         <li>If the response includes the "must-revalidate" cache-control directive, the cache <em class="bcp14">MAY</em> use that response in replying to a subsequent request. But if the response is stale, all caches <em class="bcp14">MUST</em> first revalidate it with the origin server, using the request-headers from the new request to allow the origin server to authenticate
616            the new request.
617         </li>
618         <li>If the response includes the "public" cache-control directive, it <em class="bcp14">MAY</em> be returned in reply to any subsequent request.
619         </li>
620      </ol>
621      <div id="rfc.iref.p.1"></div>
622      <div id="rfc.iref.h.2"></div>
623      <h2 id="rfc.section.4.2"><a href="#rfc.section.4.2">4.2</a>&nbsp;<a id="header.proxy-authenticate" href="#header.proxy-authenticate">Proxy-Authenticate</a></h2>
624      <p id="rfc.section.4.2.p.1">The Proxy-Authenticate response-header field <em class="bcp14">MUST</em> be included as part of a 407 (Proxy Authentication Required) response. The field value consists of a challenge that indicates
625         the authentication scheme and parameters applicable to the proxy for this Request-URI.
626      </p>
627      <div id="rfc.figure.u.3"></div><pre class="inline"><span id="rfc.iref.g.4"></span>  <a href="#header.proxy-authenticate" class="smpl">Proxy-Authenticate</a>  = "Proxy-Authenticate" ":" 1#<a href="#abnf.dependencies" class="smpl">challenge</a>
628</pre><p id="rfc.section.4.2.p.3">The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.8"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>. Unlike WWW-Authenticate, the Proxy-Authenticate header field applies only to the current connection and <em class="bcp14">SHOULD NOT</em> be passed on to downstream clients. However, an intermediate proxy might need to obtain its own credentials by requesting
629         them from the downstream client, which in some circumstances will appear as if the proxy is forwarding the Proxy-Authenticate
630         header field.
631      </p>
632      <div id="rfc.iref.p.2"></div>
633      <div id="rfc.iref.h.3"></div>
634      <h2 id="rfc.section.4.3"><a href="#rfc.section.4.3">4.3</a>&nbsp;<a id="header.proxy-authorization" href="#header.proxy-authorization">Proxy-Authorization</a></h2>
635      <p id="rfc.section.4.3.p.1">The Proxy-Authorization request-header field allows the client to identify itself (or its user) to a proxy which requires
636         authentication. The Proxy-Authorization field value consists of credentials containing the authentication information of the
637         user agent for the proxy and/or realm of the resource being requested.
638      </p>
639      <div id="rfc.figure.u.4"></div><pre class="inline"><span id="rfc.iref.g.5"></span>  <a href="#header.proxy-authorization" class="smpl">Proxy-Authorization</a>     = "Proxy-Authorization" ":" <a href="#abnf.dependencies" class="smpl">credentials</a>
640</pre><p id="rfc.section.4.3.p.3">The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.9"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>. Unlike Authorization, the Proxy-Authorization header field applies only to the next outbound proxy that demanded authentication
641         using the Proxy-Authenticate field. When multiple proxies are used in a chain, the Proxy-Authorization header field is consumed
642         by the first outbound proxy that was expecting to receive credentials. A proxy <em class="bcp14">MAY</em> relay the credentials from the client request to the next proxy if that is the mechanism by which the proxies cooperatively
643         authenticate a given request.
644      </p>
645      <div id="rfc.iref.w.1"></div>
646      <div id="rfc.iref.h.4"></div>
647      <h2 id="rfc.section.4.4"><a href="#rfc.section.4.4">4.4</a>&nbsp;<a id="header.www-authenticate" href="#header.www-authenticate">WWW-Authenticate</a></h2>
648      <p id="rfc.section.4.4.p.1">The WWW-Authenticate response-header field <em class="bcp14">MUST</em> be included in 401 (Unauthorized) response messages. The field value consists of at least one challenge that indicates the
649         authentication scheme(s) and parameters applicable to the Request-URI.
650      </p>
651      <div id="rfc.figure.u.5"></div><pre class="inline"><span id="rfc.iref.g.6"></span>  <a href="#header.www-authenticate" class="smpl">WWW-Authenticate</a>  = "WWW-Authenticate" ":" 1#<a href="#abnf.dependencies" class="smpl">challenge</a>
652</pre><p id="rfc.section.4.4.p.3">The HTTP access authentication process is described in "HTTP Authentication: Basic and Digest Access Authentication" <a href="#RFC2617" id="rfc.xref.RFC2617.10"><cite title="HTTP Authentication: Basic and Digest Access Authentication">[RFC2617]</cite></a>. User agents are advised to take special care in parsing the WWW-Authenticate field value as it might contain more than one
653         challenge, or if more than one WWW-Authenticate header field is provided, the contents of a challenge itself can contain a
654         comma-separated list of authentication parameters.
655      </p>
656      <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a>&nbsp;<a id="IANA.considerations" href="#IANA.considerations">IANA Considerations</a></h1>
657      <h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;<a id="message.header.registration" href="#message.header.registration">Message Header Registration</a></h2>
658      <p id="rfc.section.5.1.p.1">The Message Header Registry located at &lt;<a href="http://www.iana.org/assignments/message-headers/message-header-index.html">http://www.iana.org/assignments/message-headers/message-header-index.html</a>&gt; should be updated with the permanent registrations below (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>):
659      </p>
660      <div id="rfc.table.1">
661         <div id="iana.header.registration.table"></div>
662         <table summary="" class="tt full" cellpadding="3" cellspacing="0">
663            <thead>
664               <tr>
665                  <th>Header Field Name</th>
666                  <th>Protocol</th>
667                  <th>Status</th>
668                  <th>Reference</th>
669               </tr>
670            </thead>
671            <tbody>
672               <tr>
673                  <td>Authorization</td>
674                  <td>http</td>
675                  <td>standard</td>
676                  <td> <a href="#header.authorization" id="rfc.xref.header.authorization.2" title="Authorization">Section&nbsp;4.1</a> 
677                  </td>
678               </tr>
679               <tr>
680                  <td>Proxy-Authenticate</td>
681                  <td>http</td>
682                  <td>standard</td>
683                  <td> <a href="#header.proxy-authenticate" id="rfc.xref.header.proxy-authenticate.2" title="Proxy-Authenticate">Section&nbsp;4.2</a> 
684                  </td>
685               </tr>
686               <tr>
687                  <td>Proxy-Authorization</td>
688                  <td>http</td>
689                  <td>standard</td>
690                  <td> <a href="#header.proxy-authorization" id="rfc.xref.header.proxy-authorization.2" title="Proxy-Authorization">Section&nbsp;4.3</a> 
691                  </td>
692               </tr>
693               <tr>
694                  <td>WWW-Authenticate</td>
695                  <td>http</td>
696                  <td>standard</td>
697                  <td> <a href="#header.www-authenticate" id="rfc.xref.header.www-authenticate.2" title="WWW-Authenticate">Section&nbsp;4.4</a> 
698                  </td>
699               </tr>
700            </tbody>
701         </table>
702      </div>
703      <p id="rfc.section.5.1.p.2">The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".</p>
704      <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a>&nbsp;<a id="security.considerations" href="#security.considerations">Security Considerations</a></h1>
705      <p id="rfc.section.6.p.1">This section is meant to inform application developers, information providers, and users of the security limitations in HTTP/1.1
706         as described by this document. The discussion does not include definitive solutions to the problems revealed, though it does
707         make some suggestions for reducing security risks.
708      </p>
709      <h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a>&nbsp;<a id="auth.credentials.and.idle.clients" href="#auth.credentials.and.idle.clients">Authentication Credentials and Idle Clients</a></h2>
710      <p id="rfc.section.6.1.p.1">Existing HTTP clients and user agents typically retain authentication information indefinitely. HTTP/1.1 does not provide
711         a method for a server to direct clients to discard these cached credentials. This is a significant defect that requires further
712         extensions to HTTP. Circumstances under which credential caching can interfere with the application's security model include
713         but are not limited to:
714      </p>
715      <ul>
716         <li>Clients which have been idle for an extended period following which the server might wish to cause the client to reprompt
717            the user for credentials.
718         </li>
719         <li>Applications which include a session termination indication (such as a `logout' or `commit' button on a page) after which
720            the server side of the application `knows' that there is no further reason for the client to retain the credentials.
721         </li>
722      </ul>
723      <p id="rfc.section.6.1.p.2">This is currently under separate study. There are a number of work-arounds to parts of this problem, and we encourage the
724         use of password protection in screen savers, idle time-outs, and other methods which mitigate the security problems inherent
725         in this problem. In particular, user agents which cache credentials are encouraged to provide a readily accessible mechanism
726         for discarding cached credentials under user control.
727      </p>
728      <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a>&nbsp;<a id="ack" href="#ack">Acknowledgments</a></h1>
729      <p id="rfc.section.7.p.1"> <span class="comment">[rfc.comment.1: TBD.]</span> 
730      </p>
731      <h1 id="rfc.references"><a id="rfc.section.8" href="#rfc.section.8">8.</a> References
732      </h1>
733      <h2 id="rfc.references.1"><a href="#rfc.section.8.1" id="rfc.section.8.1">8.1</a> Normative References
734      </h2>
735      <table summary="Normative References">       
736         <tr>
737            <td class="reference"><b id="Part1">[Part1]</b></td>
738            <td class="top"><a title="Day Software">Fielding, R., Ed.</a>, <a title="One Laptop per Child">Gettys, J.</a>, <a title="Hewlett-Packard Company">Mogul, J.</a>, <a title="Microsoft Corporation">Frystyk, H.</a>, <a title="Adobe Systems, Incorporated">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, <a title="World Wide Web Consortium">Berners-Lee, T.</a>, <a title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a title="greenbytes GmbH">J. F. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-04">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p1-messaging-04 (work in progress), August&nbsp;2008.
739            </td>
740         </tr>
741         <tr>
742            <td class="reference"><b id="Part6">[Part6]</b></td>
743            <td class="top"><a title="Day Software">Fielding, R., Ed.</a>, <a title="One Laptop per Child">Gettys, J.</a>, <a title="Hewlett-Packard Company">Mogul, J.</a>, <a title="Microsoft Corporation">Frystyk, H.</a>, <a title="Adobe Systems, Incorporated">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, <a title="World Wide Web Consortium">Berners-Lee, T.</a>, <a title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a title="greenbytes GmbH">J. F. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-04">HTTP/1.1, part 6: Caching</a>”, Internet-Draft&nbsp;draft-ietf-httpbis-p6-cache-04 (work in progress), August&nbsp;2008.
744            </td>
745         </tr>
746         <tr>
747            <td class="reference"><b id="RFC2119">[RFC2119]</b></td>
748            <td class="top"><a title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.
749            </td>
750         </tr>
751         <tr>
752            <td class="reference"><b id="RFC2617">[RFC2617]</b></td>
753            <td class="top"><a title="Northwestern University, Department of Mathematics">Franks, J.</a>, <a title="Verisign Inc.">Hallam-Baker, P.M.</a>, <a title="AbiSource, Inc.">Hostetler, J.L.</a>, <a title="Agranat Systems, Inc.">Lawrence, S.D.</a>, <a title="Microsoft Corporation">Leach, P.J.</a>, Luotonen, A., and <a title="Open Market, Inc.">L. Stewart</a>, “<a href="http://tools.ietf.org/html/rfc2617">HTTP Authentication: Basic and Digest Access Authentication</a>”, RFC&nbsp;2617, June&nbsp;1999.
754            </td>
755         </tr>
756      </table>
757      <h2 id="rfc.references.2"><a href="#rfc.section.8.2" id="rfc.section.8.2">8.2</a> Informative References
758      </h2>
759      <table summary="Informative References">   
760         <tr>
761            <td class="reference"><b id="RFC2616">[RFC2616]</b></td>
762            <td class="top"><a title="University of California, Irvine">Fielding, R.</a>, <a title="W3C">Gettys, J.</a>, <a title="Compaq Computer Corporation">Mogul, J.</a>, <a title="MIT Laboratory for Computer Science">Frystyk, H.</a>, <a title="Xerox Corporation">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, and <a title="W3C">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC&nbsp;2616, June&nbsp;1999.
763            </td>
764         </tr>
765         <tr>
766            <td class="reference"><b id="RFC3864">[RFC3864]</b></td>
767            <td class="top"><a title="Nine by Nine">Klyne, G.</a>, <a title="BEA Systems">Nottingham, M.</a>, and <a title="HP Labs">J. Mogul</a>, “<a href="http://tools.ietf.org/html/rfc3864">Registration Procedures for Message Header Fields</a>”, BCP&nbsp;90, RFC&nbsp;3864, September&nbsp;2004.
768            </td>
769         </tr>
770      </table>
771      <h1 id="rfc.authors"><a href="#rfc.authors">Authors' Addresses</a></h1>
772      <address class="vcard"><span class="vcardline"><span class="fn">Roy T. Fielding</span>
773            (editor)
774            <span class="n hidden"><span class="family-name">Fielding</span><span class="given-name">Roy T.</span></span></span><span class="org vcardline">Day Software</span><span class="adr"><span class="street-address vcardline">23 Corporate Plaza DR, Suite 280</span><span class="vcardline"><span class="locality">Newport Beach</span>, <span class="region">CA</span>&nbsp;<span class="postal-code">92660</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline tel">Phone: <a href="tel:+1-949-706-5300"><span class="value">+1-949-706-5300</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+1-949-706-5305"><span class="value">+1-949-706-5305</span></a></span><span class="vcardline">EMail: <a><span class="email">fielding@gbiv.com</span></a></span><span class="vcardline">URI: <a href="http://roy.gbiv.com/" class="url">http://roy.gbiv.com/</a></span></address>
775      <address class="vcard"><span class="vcardline"><span class="fn">Jim Gettys</span><span class="n hidden"><span class="family-name">Gettys</span><span class="given-name">Jim</span></span></span><span class="org vcardline">One Laptop per Child</span><span class="adr"><span class="street-address vcardline">21 Oak Knoll Road</span><span class="vcardline"><span class="locality">Carlisle</span>, <span class="region">MA</span>&nbsp;<span class="postal-code">01741</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">jg@laptop.org</span></a></span><span class="vcardline">URI: <a href="http://www.laptop.org/" class="url">http://www.laptop.org/</a></span></address>
776      <address class="vcard"><span class="vcardline"><span class="fn">Jeffrey C. Mogul</span><span class="n hidden"><span class="family-name">Mogul</span><span class="given-name">Jeffrey C.</span></span></span><span class="org vcardline">Hewlett-Packard Company</span><span class="adr"><span class="street-address vcardline">HP Labs, Large Scale Systems Group</span><span class="street-address vcardline">1501 Page Mill Road, MS 1177</span><span class="vcardline"><span class="locality">Palo Alto</span>, <span class="region">CA</span>&nbsp;<span class="postal-code">94304</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">JeffMogul@acm.org</span></a></span></address>
777      <address class="vcard"><span class="vcardline"><span class="fn">Henrik Frystyk Nielsen</span><span class="n hidden"><span class="family-name">Frystyk</span></span></span><span class="org vcardline">Microsoft Corporation</span><span class="adr"><span class="street-address vcardline">1 Microsoft Way</span><span class="vcardline"><span class="locality">Redmond</span>, <span class="region">WA</span>&nbsp;<span class="postal-code">98052</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">henrikn@microsoft.com</span></a></span></address>
778      <address class="vcard"><span class="vcardline"><span class="fn">Larry Masinter</span><span class="n hidden"><span class="family-name">Masinter</span><span class="given-name">Larry</span></span></span><span class="org vcardline">Adobe Systems, Incorporated</span><span class="adr"><span class="street-address vcardline">345 Park Ave</span><span class="vcardline"><span class="locality">San Jose</span>, <span class="region">CA</span>&nbsp;<span class="postal-code">95110</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">LMM@acm.org</span></a></span><span class="vcardline">URI: <a href="http://larry.masinter.net/" class="url">http://larry.masinter.net/</a></span></address>
779      <address class="vcard"><span class="vcardline"><span class="fn">Paul J. Leach</span><span class="n hidden"><span class="family-name">Leach</span><span class="given-name">Paul J.</span></span></span><span class="org vcardline">Microsoft Corporation</span><span class="adr"><span class="street-address vcardline">1 Microsoft Way</span><span class="vcardline"><span class="locality">Redmond</span>, <span class="region">WA</span>&nbsp;<span class="postal-code">98052</span></span></span><span class="vcardline">EMail: <a><span class="email">paulle@microsoft.com</span></a></span></address>
780      <address class="vcard"><span class="vcardline"><span class="fn">Tim Berners-Lee</span><span class="n hidden"><span class="family-name">Berners-Lee</span><span class="given-name">Tim</span></span></span><span class="org vcardline">World Wide Web Consortium</span><span class="adr"><span class="street-address vcardline">MIT Computer Science and Artificial Intelligence Laboratory</span><span class="street-address vcardline">The Stata Center, Building 32</span><span class="street-address vcardline">32 Vassar Street</span><span class="vcardline"><span class="locality">Cambridge</span>, <span class="region">MA</span>&nbsp;<span class="postal-code">02139</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">timbl@w3.org</span></a></span><span class="vcardline">URI: <a href="http://www.w3.org/People/Berners-Lee/" class="url">http://www.w3.org/People/Berners-Lee/</a></span></address>
781      <address class="vcard"><span class="vcardline"><span class="fn">Yves Lafon</span>
782            (editor)
783            <span class="n hidden"><span class="family-name">Lafon</span><span class="given-name">Yves</span></span></span><span class="org vcardline">World Wide Web Consortium</span><span class="adr"><span class="street-address vcardline">W3C / ERCIM</span><span class="street-address vcardline">2004, rte des Lucioles</span><span class="vcardline"><span class="locality">Sophia-Antipolis</span>, <span class="region">AM</span>&nbsp;<span class="postal-code">06902</span></span><span class="country-name vcardline">France</span></span><span class="vcardline">EMail: <a><span class="email">ylafon@w3.org</span></a></span><span class="vcardline">URI: <a href="http://www.raubacapeu.net/people/yves/" class="url">http://www.raubacapeu.net/people/yves/</a></span></address>
784      <address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span>
785            (editor)
786            <span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span>&nbsp;<span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">EMail: <a><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address>
787      <h1 id="rfc.section.A"><a href="#rfc.section.A">A.</a>&nbsp;<a id="compatibility" href="#compatibility">Compatibility with Previous Versions</a></h1>
788      <h2 id="rfc.section.A.1"><a href="#rfc.section.A.1">A.1</a>&nbsp;<a id="changes.from.rfc.2616" href="#changes.from.rfc.2616">Changes from RFC 2616</a></h2>
789      <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a>&nbsp;<a id="change.log" href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1>
790      <h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a>&nbsp;Since RFC2616
791      </h2>
792      <p id="rfc.section.B.1.p.1">Extracted relevant partitions from <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>.
793      </p>
794      <h2 id="rfc.section.B.2"><a href="#rfc.section.B.2">B.2</a>&nbsp;Since draft-ietf-httpbis-p7-auth-00
795      </h2>
796      <p id="rfc.section.B.2.p.1">Closed issues: </p>
797      <ul>
798         <li> &lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/35">http://www3.tools.ietf.org/wg/httpbis/trac/ticket/35</a>&gt;: "Normative and Informative references"
799         </li>
800      </ul>
801      <h2 id="rfc.section.B.3"><a href="#rfc.section.B.3">B.3</a>&nbsp;Since draft-ietf-httpbis-p7-auth-01
802      </h2>
803      <p id="rfc.section.B.3.p.1">Ongoing work on ABNF conversion (&lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/36">http://www3.tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;):
804      </p>
805      <ul>
806         <li>Explicitly import BNF rules for "challenge" and "credentials" from RFC2617.</li>
807         <li>Add explicit references to BNF syntax and rules imported from other parts of the specification.</li>
808      </ul>
809      <h2 id="rfc.section.B.4"><a href="#rfc.section.B.4">B.4</a>&nbsp;<a id="changes.since.02" href="#changes.since.02">Since draft-ietf-httpbis-p7-auth-02</a></h2>
810      <p id="rfc.section.B.4.p.1">Ongoing work on IANA Message Header Registration (&lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/40">http://www3.tools.ietf.org/wg/httpbis/trac/ticket/40</a>&gt;):
811      </p>
812      <ul>
813         <li>Reference RFC 3984, and update header registrations for headers defined in this document.</li>
814      </ul>
815      <h2 id="rfc.section.B.5"><a href="#rfc.section.B.5">B.5</a>&nbsp;<a id="changes.since.03" href="#changes.since.03">Since draft-ietf-httpbis-p7-auth-03</a></h2>
816      <h1><a id="rfc.copyright" href="#rfc.copyright">Full Copyright Statement</a></h1>
817      <p>This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the
818         authors retain all their rights.
819      </p>
820      <p>This document and the information contained herein are provided on an “AS IS” basis and THE CONTRIBUTOR, THE ORGANIZATION
821         HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE
822         DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN
823         WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
824      </p>
825      <h1><a id="rfc.ipr" href="#rfc.ipr">Intellectual Property</a></h1>
826      <p>The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might
827         be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any
828         license under such rights might or might not be available; nor does it represent that it has made any independent effort to
829         identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and
830         BCP 79.
831      </p>
832      <p>Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result
833         of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users
834         of this specification can be obtained from the IETF on-line IPR repository at &lt;<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>&gt;.
835      </p>
836      <p>The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary
837         rights that may cover technology that may be required to implement this standard. Please address the information to the IETF
838         at <a href="mailto:ietf-ipr@ietf.org">ietf-ipr@ietf.org</a>.
839      </p>
840      <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1>
841      <p class="noprint"><a href="#rfc.index.4">4</a> <a href="#rfc.index.A">A</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.W">W</a> 
842      </p>
843      <div class="print2col">
844         <ul class="ind">
845            <li class="indline0"><a id="rfc.index.4" href="#rfc.index.4"><b>4</b></a><ul class="ind">
846                  <li class="indline1">401 Unauthorized (status code)&nbsp;&nbsp;<a class="iref" href="#rfc.iref.2"><b>3.1</b></a></li>
847                  <li class="indline1">407 Proxy Authentication Required (status code)&nbsp;&nbsp;<a class="iref" href="#rfc.iref.3"><b>3.2</b></a></li>
848               </ul>
849            </li>
850            <li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind">
851                  <li class="indline1">Authorization header&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.authorization.1">3.1</a>, <a class="iref" href="#rfc.iref.a.1"><b>4.1</b></a>, <a class="iref" href="#rfc.xref.header.authorization.2">5.1</a></li>
852               </ul>
853            </li>
854            <li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind">
855                  <li class="indline1"><tt>Grammar</tt>&nbsp;&nbsp;
856                     <ul class="ind">
857                        <li class="indline1"><tt>Authorization</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.3"><b>4.1</b></a></li>
858                        <li class="indline1"><tt>challenge</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.1"><b>2</b></a></li>
859                        <li class="indline1"><tt>credentials</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.2"><b>2</b></a></li>
860                        <li class="indline1"><tt>Proxy-Authenticate</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.4"><b>4.2</b></a></li>
861                        <li class="indline1"><tt>Proxy-Authorization</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.5"><b>4.3</b></a></li>
862                        <li class="indline1"><tt>WWW-Authenticate</tt>&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.6"><b>4.4</b></a></li>
863                     </ul>
864                  </li>
865               </ul>
866            </li>
867            <li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind">
868                  <li class="indline1">Headers&nbsp;&nbsp;
869                     <ul class="ind">
870                        <li class="indline1">Authorization&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.authorization.1">3.1</a>, <a class="iref" href="#rfc.iref.h.1"><b>4.1</b></a>, <a class="iref" href="#rfc.xref.header.authorization.2">5.1</a></li>
871                        <li class="indline1">Proxy-Authenticate&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.proxy-authenticate.1">3.2</a>, <a class="iref" href="#rfc.iref.h.2"><b>4.2</b></a>, <a class="iref" href="#rfc.xref.header.proxy-authenticate.2">5.1</a></li>
872                        <li class="indline1">Proxy-Authorization&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.proxy-authorization.1">3.2</a>, <a class="iref" href="#rfc.iref.h.3"><b>4.3</b></a>, <a class="iref" href="#rfc.xref.header.proxy-authorization.2">5.1</a></li>
873                        <li class="indline1">WWW-Authenticate&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.www-authenticate.1">3.1</a>, <a class="iref" href="#rfc.iref.h.4"><b>4.4</b></a>, <a class="iref" href="#rfc.xref.header.www-authenticate.2">5.1</a></li>
874                     </ul>
875                  </li>
876               </ul>
877            </li>
878            <li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind">
879                  <li class="indline1"><em>Part1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.1">2</a>, <a class="iref" href="#Part1"><b>8.1</b></a><ul class="ind">
880                        <li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.1">2</a></li>
881                     </ul>
882                  </li>
883                  <li class="indline1"><em>Part6</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part6.1">4.1</a>, <a class="iref" href="#Part6"><b>8.1</b></a><ul class="ind">
884                        <li class="indline1"><em>Section 9</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part6.1">4.1</a></li>
885                     </ul>
886                  </li>
887                  <li class="indline1">Proxy-Authenticate header&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.proxy-authenticate.1">3.2</a>, <a class="iref" href="#rfc.iref.p.1"><b>4.2</b></a>, <a class="iref" href="#rfc.xref.header.proxy-authenticate.2">5.1</a></li>
888                  <li class="indline1">Proxy-Authorization header&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.proxy-authorization.1">3.2</a>, <a class="iref" href="#rfc.iref.p.2"><b>4.3</b></a>, <a class="iref" href="#rfc.xref.header.proxy-authorization.2">5.1</a></li>
889               </ul>
890            </li>
891            <li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind">
892                  <li class="indline1"><em>RFC2119</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2119.1">1.1</a>, <a class="iref" href="#RFC2119"><b>8.1</b></a></li>
893                  <li class="indline1"><em>RFC2616</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.1">1</a>, <a class="iref" href="#RFC2616"><b>8.2</b></a>, <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a></li>
894                  <li class="indline1"><em>RFC2617</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2617.1">1</a>, <a class="iref" href="#rfc.xref.RFC2617.2">1</a>, <a class="iref" href="#rfc.xref.RFC2617.3">2</a>, <a class="iref" href="#rfc.xref.RFC2617.4">2</a>, <a class="iref" href="#rfc.xref.RFC2617.5">3.1</a>, <a class="iref" href="#rfc.xref.RFC2617.6">3.2</a>, <a class="iref" href="#rfc.xref.RFC2617.7">4.1</a>, <a class="iref" href="#rfc.xref.RFC2617.8">4.2</a>, <a class="iref" href="#rfc.xref.RFC2617.9">4.3</a>, <a class="iref" href="#rfc.xref.RFC2617.10">4.4</a>, <a class="iref" href="#RFC2617"><b>8.1</b></a><ul class="ind">
895                        <li class="indline1"><em>Section 1.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2617.3">2</a>, <a class="iref" href="#rfc.xref.RFC2617.4">2</a></li>
896                     </ul>
897                  </li>
898                  <li class="indline1"><em>RFC3864</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC3864.1">5.1</a>, <a class="iref" href="#RFC3864"><b>8.2</b></a></li>
899               </ul>
900            </li>
901            <li class="indline0"><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul class="ind">
902                  <li class="indline1">Status Codes&nbsp;&nbsp;
903                     <ul class="ind">
904                        <li class="indline1">401 Unauthorized&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.1"><b>3.1</b></a></li>
905                        <li class="indline1">407 Proxy Authentication Required&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.2"><b>3.2</b></a></li>
906                     </ul>
907                  </li>
908               </ul>
909            </li>
910            <li class="indline0"><a id="rfc.index.W" href="#rfc.index.W"><b>W</b></a><ul class="ind">
911                  <li class="indline1">WWW-Authenticate header&nbsp;&nbsp;<a class="iref" href="#rfc.xref.header.www-authenticate.1">3.1</a>, <a class="iref" href="#rfc.iref.w.1"><b>4.4</b></a>, <a class="iref" href="#rfc.xref.header.www-authenticate.2">5.1</a></li>
912               </ul>
913            </li>
914         </ul>
915      </div>
916   </body>
917</html>
Note: See TracBrowser for help on using the repository browser.