Ticket #285: 285.diff
File 285.diff, 5.2 KB (added by julian.reschke@…, 12 years ago) |
---|
-
p2-semantics.xml
73 73 <!ENTITY status-407 "<xref target='Part7' x:rel='#status.407' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> 74 74 <!ENTITY status-412 "<xref target='Part4' x:rel='#status.412' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> 75 75 <!ENTITY status-416 "<xref target='Part5' x:rel='#status.416' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> 76 <!ENTITY p3-header-fields "<xref target='Part3' x:rel='#header.fields' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> 76 77 <!ENTITY p4-status-codes "<xref target='Part4' x:rel='#status.code.definitions' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> 77 78 <!ENTITY p5-status-codes "<xref target='Part5' x:rel='#status.code.definitions' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> 78 79 <!ENTITY p7-status-codes "<xref target='Part7' x:rel='#status.code.definitions' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> … … 1816 1817 <t> 1817 1818 The resource identified by the request is only capable of generating 1818 1819 response representations which have content characteristics not acceptable 1819 according to the accept header fields sent in the request. 1820 according to the Accept and Accept-* header fields sent in the request 1821 (see &p3-header-fields;). 1820 1822 </t> 1821 1823 <t> 1822 1824 Unless it was a HEAD request, the response &SHOULD; include a representation … … 4157 4159 4158 4160 <section title="Since draft-ietf-httpbis-p2-semantics-15" anchor="changes.since.15"> 4159 4161 <t> 4160 None yet. 4162 Closed issues: 4163 <list style="symbols"> 4164 <t> 4165 <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/285"/>: 4166 "Strength of requirements on Accept re: 406" 4167 </t> 4168 </list> 4161 4169 </t> 4162 4170 </section> 4163 4171 </section> -
p3-payload.xml
844 844 </list> 845 845 </t> 846 846 <t> 847 Server-driven negotiation allows the user agent to specify its preferences, 848 but it cannot expect responses to always honour them. For example, the origin 849 server might not implement server-driven negotiation, or it might decide that 850 sending a response that doesn't conform to them is better than sending a 406 851 (Not Acceptable) response. 852 </t> 853 <t> 854 Many of the mechanisms for expressing preferences use quality values to 855 declare relative preference. See &qvalue; for more information. 856 </t> 857 <t> 847 858 HTTP/1.1 includes the following header fields for enabling 848 859 server-driven negotiation through description of user agent 849 860 capabilities and user preferences: Accept (<xref target="header.accept"/>), Accept-Charset … … 972 983 </t> 973 984 <t> 974 985 If no Accept header field is present, then it is assumed that the 975 client accepts all media types. If an Accept header field is present ,976 and if the server cannot send a response which is acceptable977 according to the combined Accept field value, then the server &SHOULD;978 send a 406 (Not Acceptable) response.986 client accepts all media types. If an Accept header field is present in a 987 request, but the server cannot send a response which is acceptable, then 988 the server can either send a response in another format, or a 406 (Not 989 Acceptable) response. 979 990 </t> 980 991 <t> 981 992 A more elaborate example is … … 1069 1080 </t> 1070 1081 <t> 1071 1082 If no Accept-Charset header field is present, the default is that any 1072 character encoding is acceptable. If an Accept-Charset header field is present, 1073 and if the server cannot send a response which is acceptable 1074 according to the Accept-Charset header field, then the server &SHOULD; send 1075 an error response with the 406 (Not Acceptable) status code, though 1076 the sending of an unacceptable response is also allowed. 1083 character encoding is acceptable. If an Accept-Charset header field is 1084 present in a request, but the server cannot send a response which is 1085 acceptable, then the server can either use another character encoding, or 1086 send a 406 (Not Acceptable) response. 1077 1087 </t> 1078 1088 </section> 1079 1089 … … 1130 1140 </list> 1131 1141 </t> 1132 1142 <t> 1133 If an Accept-Encoding field is present in a request, and if the 1134 server cannot send a response which is acceptable according to the 1135 Accept-Encoding header field, then the server &SHOULD; send an error response 1136 with the 406 (Not Acceptable) status code. 1143 If an Accept-Encoding field is present in a request, but the server cannot 1144 send a response which is acceptable, then the server &SHOULD; send a 1145 response without any encoding (i.e., the "identity" encoding). 1137 1146 </t> 1138 1147 <t> 1139 1148 If no Accept-Encoding field is present in a request, the server &MAY; … … 3010 3019 3011 3020 <section title="Since draft-ietf-httpbis-p3-payload-15" anchor="changes.since.15"> 3012 3021 <t> 3013 None yet. 3022 Closed issues: 3023 <list style="symbols"> 3024 <t> 3025 <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/285"/>: 3026 "Strength of requirements on Accept re: 406" 3027 </t> 3028 </list> 3014 3029 </t> 3015 3030 </section> 3016 3031