git-lfs/t/cmd
brian m. carlson 8e21176ba6
t: make test server check for required headers
When we make a request to the test server, we need an appropriate Accept
header, and when we make a POST request, we need an appropriate
Content-Type header as well. To ensure we have the right behavior in all
code paths, have the test server check for the Accept header and return
a 406 if it's not correct. Similarly, check all POST requests for an
appropriate Content-Type header, and fail the request if it's wrong.
This ensures that all of our code paths have the expected behavior.
2019-05-22 21:02:03 +00:00
..
util Use proper repo permissions when creating directories 2018-12-13 17:51:02 +00:00
git-credential-lfsnoop.go test: move to 'test' to 't' 2018-07-09 16:07:32 -05:00
git-credential-lfstest.go t: make credential helper handle local URLs 2018-09-24 15:09:20 +00:00
lfs-askpass.go test: move to 'test' to 't' 2018-07-09 16:07:32 -05:00
lfs-ssh-echo.go test: move to 'test' to 't' 2018-07-09 16:07:32 -05:00
lfs-ssh-proxy-test.go test: move to 'test' to 't' 2018-07-09 16:07:32 -05:00
lfstest-count-tests.go Log test server stderr to log 2019-03-27 17:18:20 +00:00
lfstest-customadapter.go lfsapi: add Access param to DoWithAuth() 2018-09-28 14:16:55 -07:00
lfstest-gitserver.go t: make test server check for required headers 2019-05-22 21:02:03 +00:00
lfstest-standalonecustomadapter.go tq: pass custom transfer adapter args to the shell 2018-09-14 23:52:38 +00:00
lfstest-testutils.go t: move testutils.go to cmd sub-package 2018-07-13 12:54:18 -05:00