Range Header
Range Header
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
The Range header is used to specify which rows are to be returned in a client WebDAVSEARCH Method.
Syntax
SEARCH /public/folder1/ HTTP/1.1 Content-Type: text/xml Content-Length: XXX Range: rows=20-39
Specification | Recordset result |
---|---|
Range: rows=20-39 | Rows 30-39 |
Range: rows=0-5, 10-15, 20-25, 30-35 | Discontinuous rows as specified |
Range: rows=-50 | Last 50 rows |
Range: rows=228- | All rows from the 228th to the end of the result set |
Range: rows=0-4,-5 | The first and last five rows |
Range: rows=-0 | Could be used by clients doing replication |
Example
Use the XMLHTTP COM Class to set the HTTP request header for a certain range, as in the following example where req is an XMLHTTPRequest object:
set req = createobject("microsoft.xmlhttp") req.open "SEARCH", strURL, false, "NYCDomain\Administrator", "pw4me" req.setrequestheader "Translate", "f" req.setrequestheader "Content-Type", "text/xml" req.setrequestheader "Depth", "0" req.setRequestHeader "Range", "rows=10-20,40-50" req.send doc
Related Topics
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)
© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.