[Stratos-dev] Registry responds with incorrect content types

Sumedha Rubasinghe sumedha at wso2.com
Sun Nov 14 03:09:46 PST 2010


On Sun, Nov 14, 2010 at 3:59 PM, Sanjiva Weerawarana <sanjiva at wso2.com>wrote:

> I agree this is a problem (and already fixed by Senaka) but we really need
> to fix Axis2 to have a default message builder concept ..
>
> To run in the case of no builder for a given content type? Is so, I do not
see how Sameera's original problem is solved by that.

/sumedha



> Sanjiva.
>
> On Sat, Nov 13, 2010 at 8:48 PM, Sameera Jayasoma <sameera at wso2.com>wrote:
>
>> Hi devs,
>>
>> With the introduction of the load balancer, we have found out that
>> registry sends responses with incorrect content types.
>>
>> e.g.
>> Request URL
>> https://appserver.cloud1.wso2.com//t/testingagain.com/registry/resource/_system/governance/repository/theme/admin/def-header-bg.gif
>>
>> Registry responds with the content-type : img/gif, it should be image/gif.
>>
>> Because of this incorrect behaviour, we had to add these incorrect content
>> types to the messageFormatter/builders section in the axis2.xml of the load
>> balancer.
>>
>> Thanks
>> Sameera
>>
>> --
>> Sameera Jayasoma
>> Technical Lead and Product Manager, WSO2 Carbon
>>
>> WSO2, Inc. (http://wso2.com)
>> email: sameera at wso2.com
>> blog: http://tech.jayasoma.org
>>
>> Lean . Enterprise . Middleware
>>
>> _______________________________________________
>> Stratos-dev mailing list
>> Stratos-dev at wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>>
>>
>
>
> --
> Sanjiva Weerawarana, Ph.D.
> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
> email: sanjiva at wso2.com; phone: +1 408 754 7388 x51726; cell: +94 77 787
> 6880 | +1 650 265 8311
> blog: http://sanjiva.weerawarana.org/
>
> Lean . Enterprise . Middleware
>
> _______________________________________________
> Stratos-dev mailing list
> Stratos-dev at wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://wso2.org/pipermail/stratos-dev/attachments/20101114/d9b81828/attachment.htm>


More information about the Stratos-dev mailing list