Forum Discussion

hhwang1's avatar
hhwang1
Copper Contributor
Jan 07, 2026

Microsoft Word opens custom WebDav server in Read Only mode

I'm trying to implement a custom WebDav server in Django and when I try to open a document in Microsoft Word using Microsoft's Office URI, it always opens in read-only mode. In my OPTIONS endpoint I'm returning the needed headers of

DAV: 1,2
MS-Author-Via: DAV
And when I look at which HTTP requests are being sent, I only see OPTIONS, GET, and HEAD. I never see an attempt at LOCK

I'm testing this on a Mac.

What am I missing to get Microsoft Word to open my document in read/write?

1 Reply

  • Microsoft Word will only open a WebDAV document in read/write mode when the server fully supports WebDAV Class 2, which mandates proper implementation of the LOCK and UNLOCK methods. If Word is unable to establish a valid lock on the document, it will default to opening the file in read-only mode. On macOS, Office applications enforce stricter compliance: they will not attempt a LOCK operation unless the server explicitly advertises and correctly implements Class 2 locking.

     

    https://www.webdavsystem.com/server/documentation/ms_office_read_only

     

Resources