Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7785649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:17:23+00:00 2026-06-01T20:17:23+00:00

Is there a minimal (possibly annotated) example of a typical request-response cycle, with both

  • 0

Is there a minimal (possibly annotated) example of a typical request-response cycle, with both headers and body. As I understand it, this consists of an initial OPTIONS and a subsequent PROPFIND exchange – after that, GET and PUT should be straightforward, so I don’t need a generic example there.

I’ve been considering exposing existing RESTful resources (collections and individual items within) via WebDAV. I only need basic functionality to work – listing directories, reading and writing files – which AFAICT means adding PROPFIND support should suffice.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T20:17:24+00:00Added an answer on June 1, 2026 at 8:17 pm

    The specification includes examples:

    Minimal

    Request:

    OPTIONS /somecollection/ HTTP/1.1
    Host: example.org
    

    Response:

    HTTP/1.1 200 OK
    Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, COPY, MOVE
    Allow: MKCOL, PROPFIND, PROPPATCH, LOCK, UNLOCK, ORDERPATCH
    DAV: 1, 2, ordered-collections
    

    Realistic

    Request:

      PROPFIND /somecollection HTTP/1.1
        Depth: 0
        Content-Type: text/xml; charset="utf-8"
        Content-Length: xxx
    
        <?xml version="1.0" encoding="UTF-8" ?>
        <propfind xmlns="DAV:">
          <prop>
            <supported-live-property-set/>
            <supported-method-set/>
          </prop>
        </propfind>
    

    Response:

    HTTP/1.1 207 Multi-Status
    Content-Type: text/xml; charset="utf-8"
    Content-Length: xxx
    
    <?xml version="1.0" encoding="utf-8" ?>
    <multistatus xmlns="DAV:">
      <response>
        <href>http://example.org/somecollection</href>
        <propstat>
          <prop>
            <supported-live-property-set>
              <supported-live-property>
                <prop><ordering-type/></prop>
              </supported-live-property>
              <!-- ... other live properties omitted for brevity ... -->
            </supported-live-property-set>
            <supported-method-set>
              <supported-method name="COPY" />
              <supported-method name="DELETE" />
              <supported-method name="GET" />
              <supported-method name="HEAD" />
              <supported-method name="LOCK" />
              <supported-method name="MKCOL" />
              <supported-method name="MOVE" />
              <supported-method name="OPTIONS" />
              <supported-method name="ORDERPATCH" />
              <supported-method name="POST" />
              <supported-method name="PROPFIND" />
              <supported-method name="PROPPATCH" />
              <supported-method name="PUT" />
              <supported-method name="TRACE" />
              <supported-method name="UNLOCK" />
            </supported-method-set>
          </prop>
          <status>HTTP/1.1 200 OK</status>
        </propstat>
      </response>
    </multistatus>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let us take this example scenario: There exists a really complex function that involves
Are there systems, where minimal page of memory (pagesize) has a size not divisible
There seems to be a similar question to this on here but with the
There are load balanced tomcat web servers. Every request could be served by different
Any ideas on this? Is there some kind of a signal queue, or does
First off I apologize if there is another post out there that answers this,
Im trying to think how to do this with html elements. There is nothing
Are there any available implementations of a Hashtable that provide thread safety with minimal
First attempt It's difficult to make this question pithy, but to provide a minimal
There seem to be very different opinions about using transactions for reading from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.