Webdav 命令

PROPFIND /git/ HTTP/1.1
Host: 202.201.0.163
Content-Length: 200
Depth: 1
Content-Type: application/xml; charset="utf-8"
Authorization: Basic 

<?xml version="1.0" encoding="utf-8" ?>
<D:propfind xmlns:D='DAV:'>
  <D:prop><D:/></D:prop>
</D:propfind>

PROPFIND /git/ HTTP/1.1
Host: 202.201.0.163
Depth: 1
Content-Type: application/xml; charset="utf-8"
Content-Length: 118
Authorization: Basic

<?xml version="1.0" encoding="utf-8" ?>
<propfind xmlns="DAV:">
  <prop>
    <add-member/>
  </prop>
</propfind>
###

list:
PROPFIND  /git/ HTTP/1.1
Host: 202.201.0.163
Depth: 1
Content-Type: text/xml; charset="utf-8"
Content-Length: 100
Authorization: Basic

<?xml version="1.0" encoding="utf-8" ?>
<D:propfind xmlns:D="DAV:">
  <D:allprop/>
</D:propfind>

put:
PUT /git/ilauncher.git/test2 HTTP/1.1
Host: 202.201.0.163
Content-Type: text/xml; charset="utf-8"
Content-Length: 100
Authorization: Basic 

<?xml version="1.0" encoding="utf-8" ?>
<D:propfind xmlns:D="DAV:">
  <D:allprop/>
</D:propfind>

PUT /git/ilauncher.git/test2 HTTP/1.1
Host: 202.201.0.163
Content-Type: text/xml; charset="utf-8"
Content-Length: 11
Content-Range: bytes 123-133/*
Authorization: Basic

abcdeabcdea

delete:
DELETE /git/ilauncher.git/test HTTP/1.1
Host: 202.201.0.163
Authorization: Basic
发布了115 篇原创文章 · 获赞 5 · 访问量 51万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览