Commit Graph

33 Commits

Author SHA1 Message Date
Max Brosnahan bc88c70725 Update documentation 2015-11-10 21:34:47 -07:00
Max Brosnahan 093256b7a8 Expose Tus handlers 2015-11-10 21:34:47 -07:00
Max Brosnahan a65da4944d Extract handler with routing into separate struct 2015-11-10 21:32:41 -07:00
Max Brosnahan 604d4e35a8 Extract middleware into function 2015-11-10 21:32:41 -07:00
Marius 376b73ae4b Merge pull request #28 from gingermusketeer/allow_logger_to_be_configured
Allow logger to be configured
2015-11-09 21:53:10 +01:00
Max Brosnahan e71b8fb0f3 Allow logger to be configured 2015-11-04 14:42:39 -07:00
Naren Venkataraman db67b862ae s/ErrIllegalOffset/ErrMismatchOffset 2015-11-04 04:37:37 -05:00
Naren Venkataraman e451dc5f65 Make sure Upload-Offset in PATCH request is greater than 0 2015-11-04 04:33:32 -05:00
Naren Venkataraman 1f6aac2a49 Make sure PATCH request has application/offset+octet-stream 2015-11-04 04:23:09 -05:00
Naren Venkataraman 86dc420ebe Fix Content-Length/Body Len Mismatch 2015-11-04 04:16:41 -05:00
Marius e13c87d966 Send empty response Body for HEAD requests
Fixes #26
2015-11-02 15:31:05 +01:00
Acconut 7d25a9e65b Switch to X-HTTP-Method-Override 2015-10-06 18:27:40 +02:00
Acconut a284e89e28 Add Tus-Method-Override header 2015-07-31 12:35:21 +02:00
Acconut 2c78d31c27 Close io.Reader if possible 2015-07-28 14:58:52 +02:00
Acconut 0c04ba220f prevent caching of HEAD responses 2015-05-26 16:17:35 +02:00
Acconut 30b913d544 rename uploads channel and add option 2015-04-26 00:46:53 +02:00
Acconut 152a8dad72 add uploads channel to handler 2015-04-18 20:56:24 +02:00
Acconut 290fea5dac return new offset after successful PATCH request 2015-03-23 19:02:12 +01:00
Acconut e6f058eeca rename more TUS-* headers 2015-03-23 18:21:45 +01:00
Acconut dcc04b648e rename Creation element in Tus-Extension 2015-03-23 18:20:53 +01:00
Acconut 46fabad314 update header names 2015-03-23 18:15:05 +01:00
Acconut c49f7bbf91 uppercase ID and URL to match golint 2015-03-23 17:58:13 +01:00
Acconut 39f919c8aa return Metadata in HEAD reponse and allow it in CORS 2015-03-08 01:06:39 +01:00
Acconut 9a5dc53c8d no metadata flag for TUS-Extension exists 2015-03-08 00:10:22 +01:00
Acconut 9b3d56bf07 move os.IsNotExist call to sendError 2015-02-28 14:53:01 +01:00
Acconut 9f94d0591b add support for Termination extension 2015-02-28 14:47:39 +01:00
Acconut 93eb701e14 add concatenation extension 2015-02-17 14:19:56 +01:00
Acconut 0c16aedc29 use tusd.FileInfo in DataStore.NewUpload 2015-02-16 17:53:50 +01:00
Acconut 29100e3b5b add GET route for downloading uploads 2015-02-06 22:05:33 +01:00
Acconut 04d559dd47 do not check size if MaxSize == 0 2015-02-05 18:25:38 +01:00
Acconut 74a9a408e6 add metadata extension 2015-02-03 19:01:35 +01:00
Acconut f513d02938 add documentation 2015-02-01 16:17:56 +01:00
Acconut a70bd4cfa3 rewrite tusd
* expose tusd.DataStore and extracted FileStore
* use pat for routing
* allow absolute BasePaths
* requires StripPrefix
* add support for 1.0 core
* update date in license
2015-02-01 14:57:57 +01:00