1. HTTP (Hypertext Transfer Protocol)

  1. HTTP Status Codes

  1. 102 Processing
    1. Writing responses (servers)
    2. Reading responses (clients)
    3. Overview table
    4. History
      1. RFC 2518 (1999-02)
      2. RFC 4918 (2007-06)
      3. draft-wright-http-progress (2020)
    5. See also

102 Processing

The 102 (Processing) provides a way for the server to indicate it is still working on the request, without committing to a final response code. It can serve to confirm that processing has begun or is in progress, but it may take some time to generate a response.

This status code was defined by WebDAV, but available for use in any application.

Writing responses (servers)

This status code may be used whenever the server may wish to indicate it received the request, but handling is just taking a long time. If handling is going to take more than 5 seconds, it can serve to reassure users and user-agents that there's no need to cancel the operation.

Servers may send this header multiple times, as often as necessary to convey that the request is still being processed. Servers should not wait so long that the client may timeout, but it should not be so quick that it uses excess bandwidth, or leaves multiple 102 Processing messages unacknowledged by the client at the same time. Somewhere between 1-10 seconds is reasonable.

It is not the final status code. Only HTTP/1.1 and HTTP/2 support the protocol elements necessary to send a 1xx request.

Reading responses (clients)

Most clients receiving will ignore 1xx status codes. If applicable, clients may wish to increment a spinner, or offer some sort of status update whenever 102 (Processing) is received.

Even without application level handling, it can still serve to reset an inactivity timer at the operating system or network level.

Overview table

Name
102
Message
102 Processing
Description
The server is still processing the request.
Specification
RFC 2518: WebDAV (obsoleted) ยง10.1. 102 Processing

History

RFC 2518 (1999-02)

The 102 (Processing) status code appears in the first publication of WebDAV, RFC 2518.

RFC 4918 (2007-06)

The 102 (Processing) code had not seen any implementations since it was first defined almost a decade prior, and so was omitted from the subsequent revision to WebDAV, RFC 4918. It was not removed from the IANA registry however, and remains legal to use for compatible purposes.

draft-wright-http-progress (2020)

An Internet-Draft draft-wright-http-progress proposes to revive the usage of 102 (Processing), now that more user-agents and HTTP utilities support 1xx status codes.

See also