git-lfs/tq
Taylor Blau 938df5c47f tq/basic_upload.go: disable Content-Type detection by configuration
For the majority of Git LFS's lifetime, Git LFS objects have been
uploaded via HTTP and contained the header:

    Content-Type: application/octet-stream

In [1], this changed and we began attempting to guess an appropriate
Content-Type header based on the first 512 bytes of the file being
uploaded.

This breaks some hosting platforms' implementation of this API, so let's
offer a way to disable this guessing to allow users to upload objects
again on affected implementations.

[1]: a1736293 (Merge pull request #3137 from
     calavera/set_upload_content_type, 2018-07-23)
2018-07-31 12:26:10 -05:00
..
schemas tq,lfsapi/ssh: convert int64 to int 2017-04-05 14:46:45 -06:00
adapterbase.go localstorage: remove global Objects() 2017-10-25 12:25:16 -06:00
api_test.go tq, commands: send refspec on batch upload calls 2018-01-05 11:12:57 -07:00
api.go tq, commands: send refspec on batch upload calls 2018-01-05 11:12:57 -07:00
basic_download.go localstorage: remove global Objects() 2017-10-25 12:25:16 -06:00
basic_upload.go tq/basic_upload.go: disable Content-Type detection by configuration 2018-07-31 12:26:10 -05:00
custom_test.go lfsapi: add *git.Configuration to Client 2017-10-25 15:38:13 -06:00
custom.go localstorage: remove global Objects() 2017-10-25 12:25:16 -06:00
errors_test.go tq/errors: implement MalformedObjectError 2017-03-24 14:36:59 -06:00
errors.go tq/errors: implement MalformedObjectError 2017-03-24 14:36:59 -06:00
manifest_test.go lfsapi: add *git.Configuration to Client 2017-10-25 15:38:13 -06:00
manifest.go lfsapi: introduce interface for initializing a Client 2017-10-25 15:33:20 -06:00
meter.go tq/meter: introduce tq.Direction.Verb 2018-06-08 15:47:52 -05:00
transfer_queue_test.go tq: add fs.Filesystem to tq.Manifest 2017-10-25 12:25:06 -06:00
transfer_queue.go Merge pull request #2811 from git-lfs/new-progress-design 2018-01-17 16:19:51 -07:00
transfer_test.go lfsapi: add *git.Configuration to Client 2017-10-25 15:38:13 -06:00
transfer.go tq/transfer.go: add Checkout direction 2018-06-08 15:47:52 -05:00
tus_upload.go progress,tools: move CopyCallback (and related) to 'tools' 2017-11-22 14:08:33 -08:00
verify_test.go lfsapi: add *git.Configuration to Client 2017-10-25 15:38:13 -06:00
verify.go logging for lfs verify and locking requests 2017-04-27 16:27:36 -06:00