The 102 Processing status code is a WebDAV-specific informational HTTP response. It tells the client that the server has accepted the request and is still working on it, but no final response is available yet.
When a client sends a WebDAV request that may take a long time (such as copying large resources), the server can periodically respond with 102 Processing. This informs the client that the request is still being handled.
// Example HTTP response indicating the server is still processing
HTTP/1.1 102 Processing
// ...Connection stays open, final response comes later...
// Node.js example sending a 102 Processing response
res.writeHead(102);
// IMPORTANT: Do NOT call res.end() yet!
// The connection must remain open for the final result.
performLongOperation(() => {
// Send the final status only after work is done
res.statusCode = 200;
res.end("Operation Complete");
});
The client does not receive the final result yet. Instead, it knows the request is still active and should wait.
Request lifecycle when using 102 Processing. Click the button below to simulate a long file copy operation.