You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Justin Clift (JIRA)" <ji...@apache.org> on 2011/02/24 14:58:38 UTC

[jira] Created: (DTACLOUD-25) Localhost:3001 Deltacloud API front page completely busted on IE8

Localhost:3001 Deltacloud API front page completely busted on IE8
-----------------------------------------------------------------

                 Key: DTACLOUD-25
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
             Project: DeltaCloud
          Issue Type: Bug
          Components: Server
         Environment: Windows XP 32-bit with Ruby 1.9.2
            Reporter: Justin Clift
            Assignee: David Lutterkort


Tried loading the Deltacloud API page using IE8:

  http://localhost:3001/api

Unfortunately it's completely busted (see attached screenshot).

That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.

Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] Commented: (DTACLOUD-25) Localhost:3001 Deltacloud API front page completely busted on IE8

Posted by Michal Fojtik <mf...@redhat.com>.
On 24/02/11 14:50 +0000, Marios Andreou (JIRA) wrote:
>
>    [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998874#comment-12998874 ]
>
>Marios Andreou commented on DTACLOUD-25:
>----------------------------------------
>
>I suspect it will be ok if you add '?format=html' to that url, i.e. open http://localhost:3001/api?format=html
>(this is not a solution but at least should put us on the right track)
>
>Having said that, I don't see quite why it would default to showing you the xml (i.e. in firefox you can request http://localhost:3001/api?format=xml). I recall a conversation a while back with Michal+David - this *might* be something to do with IE8 accept headers.

Definitely. Seems like Accept headers are broken in IE... I'll need to see
what headers are sent actually from IE to Sinatra to fix this (I'll ask Ovi to do
some debugging for me ;-)

   -- Michal


>
>> Localhost:3001 Deltacloud API front page completely busted on IE8
>> -----------------------------------------------------------------
>>
>>                 Key: DTACLOUD-25
>>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>>             Project: DeltaCloud
>>          Issue Type: Bug
>>          Components: Server
>>         Environment: Windows XP 32-bit with Ruby 1.9.2
>>            Reporter: Justin Clift
>>            Assignee: David Lutterkort
>>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png
>>
>>
>> Tried loading the Deltacloud API page using IE8:
>>   http://localhost:3001/api
>> Unfortunately it's completely busted (see attached screenshot).
>> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
>> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation
>
>--
>This message is automatically generated by JIRA.
>-
>For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>

-- 
--------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org
--------------------------------------------------------

[jira] Commented: (DTACLOUD-25) Localhost:3001 Deltacloud API front page completely busted on IE8

Posted by "Justin Clift (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998886#comment-12998886 ] 

Justin Clift commented on DTACLOUD-25:
--------------------------------------

Yep, that worked.  Using:

  http://localhost:3001/api?format=html

... and the normal/standard API page is displayed, just the same as seen in Firefox.

> Localhost:3001 Deltacloud API front page completely busted on IE8
> -----------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
>            Reporter: Justin Clift
>            Assignee: David Lutterkort
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Updated] (DTACLOUD-25) Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML

Posted by Michal Fojtik <mf...@redhat.com>.
On Jun 30, 2011, at 3:05 PM, Justin Clift wrote:

> On 30/06/2011, at 9:29 PM, Michal Fojtik wrote:
>> 
>> On Jun 29, 2011, at 10:48 PM, Justin Clift (JIRA) wrote:
>>>   [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>>> 
>>> Justin Clift updated DTACLOUD-25:
>>> ---------------------------------
>>> 
>>>  Attachment: deltacloudd_ie8_http_406.png
>>> 
>>> IE8 HTTP error
>> 
>> Seems like the content handling in IE is a bit complicated as I thought :)
>> I pushed another fix and added your User-Agent and Accept headers to our unit tests.
>> 
>> Should work now (Tested in my IE8).
> 
> Good work, that seems a lot happier.  Tested with the new git head, and this time IE8 (WinXP) loads as HTML.  Looks fine.
> 
> (only tested the front /api page, nothing in depth)
> 
> Also tested:
> 
>  + Chrome (WinXP)
>  + Firefox (5.x I *think* but didn't remember to check) on WinXP
>  + Chrome 12.x (OSX)
>  + Firefox 5.x (OSX)
>  + Opera (OSX)
>  + Safari (OSX)
> 
> All of which looked fine.
> 
> Strangely, IE9 (both in compatibility mode and not) on Win7 x64, occasionally got the colours wrong in the png deltacloud image header logo.  (both 32-bit and 64-bit versions of IE9 on Win7 x64).  Not going to worry about that though, as the main content was fine, and we'll likely replace the png in the future to match the updated main Deltacloud site.  (just my thinking, haven't really brought that up :>)
> 
> Guess we next need to hear feedback on the JSON side of things, then the JIRA tickets can be updated as appropriate?

Sure, I'll close the ticket one I got feedback from JSON but I'm sure it's fixed now.

  -- Michal

> 
> Regards and best wishes,
> 
> Justin Clift

------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org


Re: [jira] [Updated] (DTACLOUD-25) Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML

Posted by Justin Clift <jc...@redhat.com>.
On 30/06/2011, at 9:29 PM, Michal Fojtik wrote:
> 
> On Jun 29, 2011, at 10:48 PM, Justin Clift (JIRA) wrote:
>>    [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>> 
>> Justin Clift updated DTACLOUD-25:
>> ---------------------------------
>> 
>>   Attachment: deltacloudd_ie8_http_406.png
>> 
>> IE8 HTTP error
> 
> Seems like the content handling in IE is a bit complicated as I thought :)
> I pushed another fix and added your User-Agent and Accept headers to our unit tests.
> 
> Should work now (Tested in my IE8).

Good work, that seems a lot happier.  Tested with the new git head, and this time IE8 (WinXP) loads as HTML.  Looks fine.

(only tested the front /api page, nothing in depth)

Also tested:

  + Chrome (WinXP)
  + Firefox (5.x I *think* but didn't remember to check) on WinXP
  + Chrome 12.x (OSX)
  + Firefox 5.x (OSX)
  + Opera (OSX)
  + Safari (OSX)

All of which looked fine.

Strangely, IE9 (both in compatibility mode and not) on Win7 x64, occasionally got the colours wrong in the png deltacloud image header logo.  (both 32-bit and 64-bit versions of IE9 on Win7 x64).  Not going to worry about that though, as the main content was fine, and we'll likely replace the png in the future to match the updated main Deltacloud site.  (just my thinking, haven't really brought that up :>)

Guess we next need to hear feedback on the JSON side of things, then the JIRA tickets can be updated as appropriate?

Regards and best wishes,

Justin Clift

Re: [jira] [Updated] (DTACLOUD-25) Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML

Posted by Michal Fojtik <mf...@redhat.com>.
On Jun 29, 2011, at 10:48 PM, Justin Clift (JIRA) wrote:

> 
>     [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Justin Clift updated DTACLOUD-25:
> ---------------------------------
> 
>    Attachment: deltacloudd_ie8_http_406.png
> 
> IE8 HTTP error

Seems like the content handling in IE is a bit complicated as I thought :)
I pushed another fix and added your User-Agent and Accept headers to our unit tests.

Should work now (Tested in my IE8).

  -- Michal

> 
>> Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML
>> ----------------------------------------------------------------------------------------------------
>> 
>>                Key: DTACLOUD-25
>>                URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>>            Project: DeltaCloud
>>         Issue Type: Bug
>>         Components: Server
>>        Environment: Windows XP 32-bit with Ruby 1.9.2
>> IE 8 and IE 9
>>           Reporter: Justin Clift
>>           Assignee: Michal Fojtik
>>        Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png, deltacloudd_ie8_http_406.png
>> 
>> 
>> Tried loading the Deltacloud API page using IE8:
>>  http://localhost:3001/api
>> Unfortunately it's completely busted (see attached screenshot).
>> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
>> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation
> 
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
> 
> 

------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org


[jira] [Updated] (DTACLOUD-25) Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML

Posted by "Justin Clift (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Clift updated DTACLOUD-25:
---------------------------------

    Attachment: deltacloudd_ie8_http_406.png

IE8 HTTP error

> Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
> IE 8 and IE 9
>            Reporter: Justin Clift
>            Assignee: Michal Fojtik
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png, deltacloudd_ie8_http_406.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (DTACLOUD-25) Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML

Posted by "Michal Fojtik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Fojtik resolved DTACLOUD-25.
-----------------------------------

    Resolution: Fixed

Fixed in https://svn.apache.org/repos/asf/incubator/deltacloud/trunk@1141469

> Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
> IE 8 and IE 9
>            Reporter: Justin Clift
>            Assignee: Michal Fojtik
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png, deltacloudd_ie8_http_406.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (DTACLOUD-25) Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML

Posted by "Michal Fojtik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Fojtik closed DTACLOUD-25.
---------------------------------


> Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
> IE 8 and IE 9
>            Reporter: Justin Clift
>            Assignee: Michal Fojtik
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png, deltacloudd_ie8_http_406.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DTACLOUD-25) Localhost:3001 Deltacloud API front page completely busted on IE8

Posted by "Justin Clift (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Clift updated DTACLOUD-25:
---------------------------------

    Attachment: deltacloud-core-0.1.2-front-page-with-ie8.png

> Localhost:3001 Deltacloud API front page completely busted on IE8
> -----------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
>            Reporter: Justin Clift
>            Assignee: David Lutterkort
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DTACLOUD-25) Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML

Posted by "Justin Clift (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057462#comment-13057462 ] 

Justin Clift commented on DTACLOUD-25:
--------------------------------------

Tried the latest deltacloud git head, and it generated a HTTP 406 error on IE8 (Win XP 32-bit).

Screenshot from IE8 attached, just prior to writing this comment.

Deltacloud compiled and running on a F14 box, and was started with:

$ deltacloud -i mock -r 0.0.0.0

WinXP box accessed it over the network.



> Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
> IE 8 and IE 9
>            Reporter: Justin Clift
>            Assignee: Michal Fojtik
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png, deltacloudd_ie8_http_406.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (DTACLOUD-25) Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML

Posted by "Michal Fojtik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Fojtik reassigned DTACLOUD-25:
-------------------------------------

    Assignee: Michal Fojtik  (was: David Lutterkort)

> Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
> IE 8 and IE 9
>            Reporter: Justin Clift
>            Assignee: Michal Fojtik
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DTACLOUD-25) Localhost:3001 Deltacloud API front page completely busted on IE8

Posted by "Marios Andreou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998874#comment-12998874 ] 

Marios Andreou commented on DTACLOUD-25:
----------------------------------------

I suspect it will be ok if you add '?format=html' to that url, i.e. open http://localhost:3001/api?format=html
(this is not a solution but at least should put us on the right track)

Having said that, I don't see quite why it would default to showing you the xml (i.e. in firefox you can request http://localhost:3001/api?format=xml). I recall a conversation a while back with Michal+David - this *might* be something to do with IE8 accept headers. 

> Localhost:3001 Deltacloud API front page completely busted on IE8
> -----------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
>            Reporter: Justin Clift
>            Assignee: David Lutterkort
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DTACLOUD-25) Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML

Posted by "Justin Clift (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057473#comment-13057473 ] 

Justin Clift commented on DTACLOUD-25:
--------------------------------------

Using Fiddler2 again to capture the communication between the WinXP client and the Deltacloud server.

This is the request from IE8 to the DC server:

  GET http://10.10.10.19:3001/api HTTP/1.1
  Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
  Accept-Language: en-us
  User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
  Accept-Encoding: gzip, deflate
  Connection: Keep-Alive
  Host: 10.10.10.19:3001

(Note, needed to install .NET to get fiddler working. .NET adds itself to the request headers.  Doesn't affect IE8 + Deltacloud communication though.)

This is the response from the Deltacloud server:

  HTTP/1.1 406 Not Acceptable
  X-Runtime: 0.000656
  Connection: close
  Server: thin 1.2.5 codename This Is Not A Web Server

It kind of looks like the Deltacloud server is the one giving the 406, and not IE?


> Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
> IE 8 and IE 9
>            Reporter: Justin Clift
>            Assignee: Michal Fojtik
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png, deltacloudd_ie8_http_406.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Updated] (DTACLOUD-25) Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML

Posted by Michal Fojtik <mf...@redhat.com>.
On Jun 23, 2011, at 2:42 PM, Justin Clift (JIRA) wrote:

> 
>     [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Justin Clift updated DTACLOUD-25:
> ---------------------------------
> 
>    Environment: 
> Windows XP 32-bit with Ruby 1.9.2
> IE 8 and IE 9
> 
>  was:Windows XP 32-bit with Ruby 1.9.2
> 
>        Summary: Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML  (was: Localhost:3001 Deltacloud API front page completely busted on IE8)

As a temporary workaround you can suffix URL with ?format=html and it should work.
I'll look on this issue.

  -- Michal

> 
>> Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML
>> ----------------------------------------------------------------------------------------------------
>> 
>>                Key: DTACLOUD-25
>>                URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>>            Project: DeltaCloud
>>         Issue Type: Bug
>>         Components: Server
>>        Environment: Windows XP 32-bit with Ruby 1.9.2
>> IE 8 and IE 9
>>           Reporter: Justin Clift
>>           Assignee: David Lutterkort
>>        Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png
>> 
>> 
>> Tried loading the Deltacloud API page using IE8:
>>  http://localhost:3001/api
>> Unfortunately it's completely busted (see attached screenshot).
>> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
>> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation
> 
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
> 
> 

------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org


[jira] [Updated] (DTACLOUD-25) Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML

Posted by "Justin Clift (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Clift updated DTACLOUD-25:
---------------------------------

    Environment: 
Windows XP 32-bit with Ruby 1.9.2
IE 8 and IE 9

  was:Windows XP 32-bit with Ruby 1.9.2

        Summary: Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML  (was: Localhost:3001 Deltacloud API front page completely busted on IE8)

> Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
> IE 8 and IE 9
>            Reporter: Justin Clift
>            Assignee: David Lutterkort
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DTACLOUD-25) Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML

Posted by "Michal Fojtik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057199#comment-13057199 ] 

Michal Fojtik commented on DTACLOUD-25:
---------------------------------------

Guys I just pushed the patch which hopefully solve this issue and the other one with application/json. Could you test it against latest git head please?

> Accept headers processing problem: XML format is being returned to IE (all versions) instead of HTML
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
> IE 8 and IE 9
>            Reporter: Justin Clift
>            Assignee: Michal Fojtik
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DTACLOUD-25) Localhost:3001 Deltacloud API front page completely busted on IE8

Posted by "Justin Clift (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999490#comment-12999490 ] 

Justin Clift commented on DTACLOUD-25:
--------------------------------------

Tried IE6 and IE9 Release Candidate as well, just to see if there was a difference.  They behave in the same way, showing XML by default unless ?format=html is appended.

Extracted the Accept header using Fiddler (www.fiddler2.com) on Win7 with IE9 RC.

Here's the full request header for the default page:

 GET http://localhost:3001/api HTTP/1.1
 Accept: text/html, application/xhtml+xml, */*
 Accept-Language: en-AU
 User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
 Accept-Encoding: gzip, deflate
 Connection: Keep-Alive
 Host: localhost:3001

Not seeing anything obvious in there saying to send XML in preference to HTML though.  Seems equal weighting of the default value (1).  ?

> Localhost:3001 Deltacloud API front page completely busted on IE8
> -----------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
>            Reporter: Justin Clift
>            Assignee: David Lutterkort
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DTACLOUD-25) Localhost:3001 Deltacloud API front page completely busted on IE8

Posted by "David Lutterkort (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998939#comment-12998939 ] 

David Lutterkort commented on DTACLOUD-25:
------------------------------------------

If you can fish the Accept header that IE8 sends out of some log, I bet it's just as broken as chrome's in that it claims that IE8 prefers XML over HTML output. Would be good to make sure, though.

> Localhost:3001 Deltacloud API front page completely busted on IE8
> -----------------------------------------------------------------
>
>                 Key: DTACLOUD-25
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-25
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Windows XP 32-bit with Ruby 1.9.2
>            Reporter: Justin Clift
>            Assignee: David Lutterkort
>         Attachments: deltacloud-core-0.1.2-front-page-with-ie8.png
>
>
> Tried loading the Deltacloud API page using IE8:
>   http://localhost:3001/api
> Unfortunately it's completely busted (see attached screenshot).
> That attached screenshot ISN'T a "View Source" display.  It's the actual display of what's shown for the URL.
> Using Firefox 3.5.x on the same URL on the same system works fine, as expected.  i.e. not a problem with the server installation

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira