diff options
| author | chrislu <chris.lu@gmail.com> | 2022-04-01 20:25:37 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-04-01 20:25:37 -0700 |
| commit | a8eefda4526153a017a3d46761cefe6b0591661a (patch) | |
| tree | 5d7d7a3a4975348dbbbcebd286277000d25d54ad | |
| parent | 105578a2f2425b568abaa032cd9fb3f744207a92 (diff) | |
| parent | 049f8f2e2a43cdad06d8de4bec11b424160c08e0 (diff) | |
| download | seaweedfs-a8eefda4526153a017a3d46761cefe6b0591661a.tar.xz seaweedfs-a8eefda4526153a017a3d46761cefe6b0591661a.zip | |
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
| -rw-r--r-- | weed/s3api/s3api_object_handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.go index 4d6c18a78..190045517 100644 --- a/weed/s3api/s3api_object_handlers.go +++ b/weed/s3api/s3api_object_handlers.go @@ -63,7 +63,7 @@ func (s3a *S3ApiServer) PutObjectHandler(w http.ResponseWriter, r *http.Request) if r.Header.Get("Expires") != "" { if _, err = time.Parse(http.TimeFormat, r.Header.Get("Expires")); err != nil { - s3err.WriteErrorResponse(w, r, s3err.ErrInvalidDigest) + s3err.WriteErrorResponse(w, r, s3err.ErrMalformedExpires) return } } |
