Network Working Group K. Holtman
Request for Comments: 2310 TUE
Category: Experimental April 1998
The Safe Response Header Field
1 Introduction
This document defines a HTTP response header field called Safe, which can be used to indicate that repeating a HTTP request is safe. Such an indication will allow user agents to handle retries of some safe requests, in particular safe POST requests, in a more user-friendly way.
2 Terminology and Notation
This document uses the HTTP terminology and BNF notation defined in [1]. It uses the key words in RFC 2119 for defining the significance of each particular requirement.
3 Rationale
According to Section 9.1.1 (Safe Methods) of the HTTP/1.1 specification [1], POST requests are assumed to be `unsafe' by default. `Unsafe' means `causes side effects for which the user will be held accountable'. It is sometimes necessary for a user agent to repeat a POST request. Examples of such cases are
Holtman Experimental [Page 1]
RFC 2310 The Safe Response Header Field April 1998
- when retrying a POST request which gave an indeterminate error result in the previous attempt
4 The Safe response header field
The Safe response header field is defined as an addition to the HTTP/1.x protocol suite.
Holtman Experimental [Page 2]
RFC 2310 The Safe Response Header Field April 1998
The Safe header field has the following syntax.
5 Security Considerations
For a discussion of the security considerations connected to HTTP form submission, see [1]. The Safe header field introduces no new security risks.
Holtman Experimental [Page 3]
RFC 2310 The Safe Response Header Field April 1998 6 References[1] Fielding, R., Gettys, J., Mogul, J., Frystyk, H., and T. Berners-Lee, "Hypertext Transfer Protocol -- HTTP/1.1", RFC 2068, January 1997.
7 Author's Address
Koen Holtman Technische Universiteit Eindhoven Postbus 513 Kamer HG 6.57 5600 MB Eindhoven (The Netherlands)
Holtman Experimental [Page 4]
RFC 2310 The Safe Response Header Field April 1998 8. Full Copyright StatementCopyright (C) The Internet Society (1998). All Rights Reserved.