diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2016-08-19 11:29:00 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2016-08-24 21:29:32 -0400 |
commit | ffbe03aa9b0e1e3b0bbb44baeab34d39cf09bb23 (patch) | |
tree | e322e744d7a843e7b15c987a9a76f1825c634941 /org.eclipse.jgit.lfs.server/.classpath | |
parent | 9974f3070262b92b06d582182d0f633155ed69d9 (diff) | |
download | jgit-ffbe03aa9b0e1e3b0bbb44baeab34d39cf09bb23.tar.gz jgit-ffbe03aa9b0e1e3b0bbb44baeab34d39cf09bb23.zip |
LfsProtocolServlet: Add support for insufficient storage error
Since [1], the git-lfs specification allows the server to return
HTTP 507 if there is insufficient storage for the uploaded object(s).
Add a new exception class, which implementations may throw from the
getRepository() method, causing HTTP 507 to be returned to the client.
[1] https://github.com/github/git-lfs/pull/1473
Change-Id: If5bc0a35fcf870d4216af6ca2f7c8924689ef9c5
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.lfs.server/.classpath')
0 files changed, 0 insertions, 0 deletions