alphaville / jaqpot3

A brand new version of jaqpot - fully OpenTox API (1.2) compliant (see http://opentox.ntua.gr ) - lots of new features
http://opentox.ntua.gr
2 stars 1 forks source link

html instead of rdf returned #11

Closed mguetlein closed 13 years ago

mguetlein commented 13 years ago

the 403 error is not returned in the right content-type:

curl -H "Accept:application/rdf+xml" http://opentox.ntua.gr:8080/model/bbab3714-e90b-4990-7d3a30eece

return Content-Type: text/html instead of rdf-xml

alphaville commented 13 years ago

It's fixed now.

alphaville commented 13 years ago

Now it's definitely fixed. It's very funny because the same piece of code behaved differently on my laptop and on the remote server! The "Accept" header was locally received as "Accept" and remotely as "accept" (lowercase). The problem was at OpenSSOAuthorizer line 177 (see http://is.gd/VU2vuG). I think I should close the issue now but let me know if something wrong is going on.

mguetlein commented 13 years ago

I can confirm that its working, rdf is returned