jgit/org.eclipse.jgit.http.test
Shawn O. Pearce 58ed0cb840 smart HTTP: Return errors inside payload
When the client is clearly making a smart HTTP request to our smart
HTTP server, return any errors like RepositoryNotFoundException or
ServiceNotEnabledException inside of the payload as a Git level ERR
message, rather than an HTTP error code.

This prevents the C Git command line client from retrying a failed
"$URL/info/refs?service=git-upload-pack" request without the smart
service URL, only to fail again with "403 Forbidden" when the dumb
as-is service has been disabled by the server configuration, or is
unavailable because the repository is not on the local filesystem.

Change-Id: I57e8756d5026e885e0ca615979bfcd729703be6c
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2011-04-01 17:40:34 -04:00
..
.settings Run formatter on edited lines via save action 2010-08-26 12:33:09 -05:00
META-INF daemon: Use HTTP's resolver and factory pattern 2011-02-14 18:28:21 -08:00
tst/org/eclipse/jgit/http smart HTTP: Return errors inside payload 2011-04-01 17:40:34 -04:00
.classpath Make HTTP test project work in Eclipse 2010-01-23 11:29:25 -08:00
.gitignore Make HTTP test project work in Eclipse 2010-01-23 11:29:25 -08:00
.project Revert "Hide Maven target directories from Eclipse" 2010-08-28 09:50:50 +02:00
build.properties http.test: Add missing plugin.properties to build 2010-02-09 19:28:28 -08:00
org.eclipse.jgit.http--All-Tests.launch Convert all JGit unit tests to JUnit 4 2010-12-31 14:00:05 -08:00
plugin.properties Correct bundle, provider names to be consistent 2010-01-23 11:42:15 -08:00
pom.xml Qualify post 0.11 builds 2011-02-12 03:30:05 +01:00