|
|
@ -779,7 +779,7 @@ func uploadFileHandler(writer http.ResponseWriter, req *http.Request) { |
|
|
|
writer.Header().Set("Location:", location) |
|
|
|
writer.Header().Set("Location:", location) |
|
|
|
writer.Header().Set("Content-Type", "application/json") |
|
|
|
writer.Header().Set("Content-Type", "application/json") |
|
|
|
writer.WriteHeader(http.StatusCreated) |
|
|
|
writer.WriteHeader(http.StatusCreated) |
|
|
|
writer.Write(b) |
|
|
|
//writer.Write(b)
|
|
|
|
//}
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|