You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
308 B

  1. package weed_server
  2. import (
  3. "net/http"
  4. )
  5. func (fs *FilerServer) multipartUploadAnalyzer(w http.ResponseWriter, r *http.Request, replication, collection string, dataCenter string) (path string, err error) {
  6. //Default handle way for http multipart
  7. if r.Method == "PUT" {
  8. path = r.URL.Path
  9. }
  10. return
  11. }