![]() |
WebDAV & IIS
----- Kann gelöscht werden -----
das Transalte: f wars Hallo ich bin gerade dabei das WebDAV Protokoll zu verstehen, vorallem in zusammenspiel mit dem Windows Explorer. Dazu habe ich auf einem IIS das eingestellt, und versuche das Verhalten nun nachzubauen. Wenn ich nun per Explorer auf den WEbDAV ORdner gehe und ein Excel File Doppelklicke, dann macht mir das Excel direkt auf, ohne erneut nach username zu frage. nur verstehe ich die abfrage hierzu nicht Als erstes kommt eine LOCK abfrage (Da ohne user wird diese mit 401 verweigert)
Code:
danach kommt eine GET Anfrage wieder ohne USER daher mit 401 verweigert
LOCK http://192.168.2.252:7080/ID815/test.xls HTTP/1.1
Cache-Control: no-cache Connection: Keep-Alive Pragma: no-cache Content-Type: text/xml; charset="utf-8" User-Agent: Microsoft Office Excel 2013 Translate: f Timeout: Second-3600 X-IDCRL_ACCEPTED: t Connection: Keep-Alive Content-Length: 200 Host: 192.168.2.252:7080 <?xml version="1.0" encoding="utf-8" ?><D:lockinfo xmlns:D="DAV:"><D:lockscope><D:exclusive/></D:lockscope><D:locktype><D:write/></D:locktype><D:owner><D:href>test</D:href></D:owner></D:lockinfo>
Code:
und nun mein Problem, jetzt kommt
GET http://192.168.2.252:7080/ID815/test.xls HTTP/1.1
Connection: Keep-Alive Content-Type: text/xml; charset="utf-8" User-Agent: Microsoft Office Excel 2013 Depth: 0 Translate: f X-IDCRL_ACCEPTED: t Connection: Keep-Alive Host: 192.168.2.252:7080 wieder eine GET anfrage, ein bisschen anders, aber auch wieder keinerlei User Infos, aber diesesmal schickt der IIS die Datei zurück
Code:
und das verstehe ich nicht, was ist an der letzen Anfrage anders als an der vorletzten das der IIS nun ohne User und co doch die Datei schickt?
GET http://192.168.2.252:7080/ID815/test.xls HTTP/1.1
Connection: Keep-Alive Accept: */* Accept-Encoding: * User-Agent: Microsoft Office Excel 2013 X-IDCRL_ACCEPTED: t Connection: Keep-Alive Host: 192.168.2.252:7080 |
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:28 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz