git-lfs/tq
brian m. carlson 61bc880d9e
tq: ensure we pass the correct Accept header in verify requests
When we perform a verify request, we need to specify a proper Accept
header along with the Content-Type header. Do so.

Hoist the setting of the headers before the code which copies headers
from the remote side, so that the remote side can override it with a
suitable header if necessary. This is required for compatibility with
some existing servers.
2019-05-22 21:01:54 +00:00
..
schemas tq,lfsapi/ssh: convert int64 to int 2017-04-05 14:46:45 -06:00
adapterbase.go tq/adapterbase: fix typo enableHrefRerite to enableHrefRewrite 2019-04-04 11:04:00 +09:00
api_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
api.go lfsapi: add Access param to DoWithAuth() 2018-09-28 14:16:55 -07:00
basic_download.go tq: retry on oversize file 2019-02-22 14:46:10 +00:00
basic_upload.go tq: avoid nil pointer dereference on unexpected failure 2019-02-20 14:47:35 +00:00
custom_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
custom.go tq: pass custom transfer adapter args to the shell 2018-09-14 23:52:38 +00: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: extract new lfshttp package 2018-09-11 14:51:29 -07:00
manifest.go lfsapi: introduce interface for initializing a Client 2017-10-25 15:33:20 -06:00
meter.go Use proper repo permissions when creating directories 2018-12-13 17:51:02 +00:00
transfer_queue_test.go tq: add fs.Filesystem to tq.Manifest 2017-10-25 12:25:06 -06:00
transfer_queue.go Add integration tests; check other places where 429 could occur 2019-01-07 12:27:02 +03:00
transfer_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07: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 tq: use correct access 2018-09-28 14:16:55 -07:00
verify.go tq: ensure we pass the correct Accept header in verify requests 2019-05-22 21:01:54 +00:00