routers: Fix order of PostPolicyHandlers and headers.

This commit is contained in:
Harshavardhana
2016-03-22 17:54:31 -07:00
parent 600a932acb
commit 76bda0d8f1
2 changed files with 3 additions and 4 deletions

View File

@@ -518,8 +518,7 @@ func extractHTTPFormValues(reader *multipart.Reader) (io.Reader, map[string]stri
// signature policy in multipart/form-data
func (api storageAPI) PostPolicyBucketHandler(w http.ResponseWriter, r *http.Request) {
// Here the parameter is the size of the form data that should
// be loaded in memory, the remaining being put in temporary
// files
// be loaded in memory, the remaining being put in temporary files.
reader, e := r.MultipartReader()
if e != nil {
errorIf(probe.NewError(e), "Unable to initialize multipart reader.", nil)