Skip to content

lfs-test-server tricks client into violation of LFS spec #85

@slonopotamus

Description

@slonopotamus

https://github.com/git-lfs/lfs-test-server/blob/master/server.go#L554

Server tells client to use Accept: application/vnd.git-lfs header when accessing various links, including /verify. However, LFS specification clearly states that client sends Accept: application/vnd.git-lfs+json when accessing verification link.

Current behavior turns our to work with native git-lfs implementation, but not with other clients (git-lfs-java, for example) and overall is very fragile and depends on the order in which client builds its HTTP headers list.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions