Refactors 2
This commit is contained in:
@@ -66,10 +66,9 @@ func VidHubFile(path string, fileSize int64, added string) string {
|
||||
<d:displayname>%s</d:displayname>
|
||||
<d:getcontentlength>%d</d:getcontentlength>
|
||||
<d:getlastmodified>%s</d:getlastmodified>
|
||||
<d:getcontenttype>%s</d:getcontenttype>
|
||||
<d:resourcetype></d:resourcetype>
|
||||
</d:prop>
|
||||
<d:status>HTTP/1.1 200 OK</d:status>
|
||||
</d:propstat>
|
||||
</d:response>`, customPathEscape(path), html.EscapeString(filename), fileSize, added, getContentType(filename))
|
||||
</d:response>`, customPathEscape(path), html.EscapeString(filename), fileSize, added)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user