Re: turnguard validator minor issues

hi ben,

thanks for error report and suggestions, i'm gonna take a look and let you know...

wkr j

----- Original Message -----
From: "Ben Carrillo" <bennomadic@gmail.com>
To: "j.jakobitsch" <j.jakobitsch@semantic-web.at>
Sent: Thursday, January 12, 2012 7:14:00 AM
Subject: turnguard validator minor issues


a couple of issues with turnguard validator: 


1) maybe handle non-accepted mimetypes more gracefully? 
2) enabling head method? 


ben@test ~ % curl -k -H "Accept: application/rdf+xml" -E ~/.webidclient/certs/testcert.pem https://webid.turnguard.com:8443/WebIDTestServer/debug 


<html><head><title>Apache Tomcat/6.0.33 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Could not resolve view with name 'api/service/index/index' in servlet with name 'dispatcher' 
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1029) 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817) 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644) 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:617) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/6.0.33 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.33</h3></body></html>% 





ben@test ~ % curl -I -k -E ~/.webidclient/certs/testcert.pem https://webid.turnguard.com:8443/WebIDTestServer/debug 
HTTP/1.1 405 Method Not Allowed 
Server: Apache-Coyote/1.1 
Pragma: No-cache 
Cache-Control: no-cache 
Expires: Thu, 01 Jan 1970 01:00:00 CET 
Allow: GET 
Content-Type: text/html;charset=utf-8 
Content-Length: 1085 
Date: Thu, 12 Jan 2012 06:11:56 GMT 

-- 
| Jürgen Jakobitsch, 
| Software Developer
| Semantic Web Company GmbH
| Mariahilfer Straße 70 / Neubaugasse 1, Top 8
| A - 1070 Wien, Austria
| Mob +43 676 62 12 710 | Fax +43.1.402 12 35 - 22

COMPANY INFORMATION
| http://www.semantic-web.at/

PERSONAL INFORMATION
| web   : http://www.turnguard.com
| foaf  : http://www.turnguard.com/turnguard
| skype : jakobitsch-punkt

Received on Thursday, 12 January 2012 08:28:23 UTC