如何使用HttpURLConnection或是java中的其他方法模拟svn的http请求?

makeppy 2011-11-24 10:31:32
svn的发送请求抓包如下,其中“OPTIONS /svn/sztelcom_androidgames/20_DevelopingEnvironment HTTP/1.1”改如何模拟呢?——

OPTIONS /svn/sztelcom_androidgames/20_DevelopingEnvironment HTTP/1.1
User-Agent: SVN/1.6.12 (r955767)/TortoiseSVN-1.6.10.19898 neon/0.29.3
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Host: www.wicresoft.jp:443
Content-Type: text/xml
Accept-Encoding: gzip
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
Content-Length: 104
Accept-Encoding: gzip
...全文
65 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧