HTTP

HTTP 304 Not Modified vs 423 Locked

HTTP 304 (Not Modified) is a 3xx Redirection response, while 423 (Locked) is a 4xx Client Error response. 304 indicates that the resource has not been modified since the last request. The client can use its cached copy. In contrast, 423 means that the resource is locked and cannot be modified (WebDAV).

Description

The resource has not been modified since the last request. The client can use its cached copy.

When You See It

When the browser cache is still valid (If-None-Match / If-Modified-Since headers match).

How to Fix

No fix needed. This saves bandwidth by confirming the cached version is still current.

Description

The resource is locked and cannot be modified (WebDAV).

When You See It

When trying to edit a file that another user has locked in WebDAV.

How to Fix

Wait for the lock to be released, or request the lock owner to unlock it.

Key Differences

1.

304 is a 3xx Redirection response, while 423 is a 4xx Client Error response.

2.

HTTP 304: The resource has not been modified since the last request. The client can use its cached copy.

3.

HTTP 423: The resource is locked and cannot be modified (WebDAV).

4.

You encounter 304 when when the browser cache is still valid (If-None-Match / If-Modified-Since headers match).

5.

You encounter 423 when when trying to edit a file that another user has locked in WebDAV.

When to Use Which

For 304 (Not Modified): No fix needed. This saves bandwidth by confirming the cached version is still current. For 423 (Locked): Wait for the lock to be released, or request the lock owner to unlock it.

Learn More