incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Strässer (JIRA) <>
Subject [jira] Reopened: (CLEREZZA-154) wrong reponse header in safari / chrome - YUI
Date Thu, 08 Apr 2010 13:02:36 GMT


Oliver Strässer reopened CLEREZZA-154:

in my cases i have a registred scala server page, wich generate the json output. 
you are using a ssp too (asset-list.ssp)

The Request Header of the Safari / YUI: 

GET /admin/digital-asset-manager/retrieve-assets?startIndex=0&count=100 HTTP/1.1
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE) AppleWebKit/531.22.7 (KHTML, like
Gecko) Version/4.0.5 Safari/531.22.7
Accept: */*
Accept-Language: de-DE
Accept-Encoding: gzip, deflate
Connection: keep-alive

The respons header: 
HTTP/1.1 200 OK
Date: Thu, 08 Apr 2010 12:55:19 GMT
Server: Jetty(6.1.x)
Content-Type: application/rdf+json
Keep-Alive: timeout=15, max=37

and the raw data is well formed rdf-json  - the problem  ;-) 
Connection: Keep-Alive
Transfer-Encoding: chunked

> wrong reponse header in safari / chrome  - YUI
> ----------------------------------------------
>                 Key: CLEREZZA-154
>                 URL:
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Oliver Strässer
>            Assignee: Reto Bachmann-Gmür
> on building a datatable with YUI - application/rdf+json is the return content type (and
not applocation/json).  so the datatable couldn't build. 
> the is an error only in safari / chrome
> my little workaround for me (i don't like it): 
>     @Produces("application/json")
>     public GraphNode retrieveAssets(){
> }

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message