Commit Graph

22 Commits

Author SHA1 Message Date
Chris Lu
f7998f8652 merge conflicts 2015-02-07 15:35:28 -08:00
Chris Lu
179d36ba0e formatting code by: goimports -w=true . 2014-10-26 11:34:55 -07:00
wyy
4126280d55 use github.com/chrislusf instead of github.com/aszxqw 2014-09-25 16:57:22 +08:00
wyy
1cd19447e3 use github.com/aszxqw instead of code.google.com/p 2014-09-25 00:47:09 +08:00
Chris Lu
4ecf5956d7 Add types to uploading 2014-04-15 10:01:13 -07:00
Chris Lu
51fafdb525 more robust filer 2014-03-30 13:26:44 -07:00
Chris Lu
7a8bc2e19e avoid sharing same err variable 2014-03-12 15:17:23 -07:00
Chris Lu
c3ce024fc1 reusing http connections 2014-03-12 14:07:01 -07:00
Chris Lu
466a55b06d fix error message 2014-03-12 10:25:05 -07:00
Chris Lu
d5e7c1de0a refactoring code
reusable code by go clients
2013-08-13 23:26:51 -07:00
Chris Lu
f7c1a15ad1 correctly print strings in error 2013-08-13 18:21:54 -07:00
Chris Lu
ed154053c8 switching to temporarily use glog library 2013-08-08 23:57:22 -07:00
Chris Lu
e94d52c1af replicate mime type 2013-07-29 10:09:36 -07:00
Chris Lu
5e3b6e968a escaping upload file name special characters
if already gzipped, avoid gzipping again
2013-07-15 17:26:00 -07:00
Chris Lu
dd66193bfb remove logging 2013-07-15 16:44:24 -07:00
Chris Lu
70fe7e6b5d support gzip file upload, fix problem during replication of gzipped data 2013-07-15 11:04:43 -07:00
Chris Lu
db46565d18 ensure mime type checking by lower cased file name extension 2013-07-11 21:16:54 -07:00
Chris Lu
1ac71a111f Issue 28: [HELP NEEDED] weed upload does not send correct mime type to
weedfs

Fix is provided by claudiu.raveica
2013-07-11 19:14:55 -07:00
Chris Lu
3afc2d2ce6 remove unused code 2013-07-10 00:27:01 -07:00
Chris Lu
4c200acd7d 1. ensure replicated file has the same timestamp
2. upload can specify modified time by &ts=...
3. correctly return code 304
2013-07-10 00:25:14 -07:00
Chris Lu
db8e27be6e add lots of error checking by GThomas 2013-02-26 22:54:22 -08:00
Chris Lu
5071f528f6 testing compilation with remove package 2013-02-10 03:49:51 -08:00