Add ssl/client/i/dn resource. Closes #113

This commit is contained in:
Héctor Hurtado
2020-09-10 16:35:41 +02:00
parent 6d24cc4d2d
commit a17cc4838d
5 changed files with 191 additions and 2 deletions
+4 -1
View File
@@ -72,7 +72,10 @@ func Run(bindAddr string, wg *sync.WaitGroup) {
{"/handlers/{handlerID}/request/body", "GET", getRequestBody},
// route
//{"/handlers/{handlerID}/route/id", "GET", getRouteId},
{"/handlers/{handlerID}/route/id", "GET", getRouteId},
// SSL stuff
{"/handlers/{handlerID}/ssl/client/i/dn", "GET", getSSLClietnDN},
// response
{"/handlers/{handlerID}/response/status", "PUT", lockResponseWriter(setResponseStatus)},