incubator-clerezza-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/CLEREZZA-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854921#action_12854921
] 

Oliver Strässer edited comment on CLEREZZA-154 at 4/8/10 1:02 PM:
------------------------------------------------------------------

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
Host: clips.java.getunik.net
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
Referer: http://my-secret-host/admin/digital-asset-manager
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









      was (Author: osr):
    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
Host: clips.java.getunik.net
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
Referer: http://clips.java.getunik.net/admin/digital-asset-manager
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: https://issues.apache.org/jira/browse/CLEREZZA-154
>             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.


Mime
View raw message