deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject New media type handling code
Date Tue, 28 Jun 2011 13:51:41 GMT

This patch should obsolete the lib/sinatra/respond_to.rb file in prior of using Rack middleware
the content negotiation.
This new code should handle all criteria defined in HTTP specification for the Accept header,
like priorities
and order.

I also included a test unit file with all possible combinations of browser Accept strings
and also some special cases
when we want XML or force content type using the 'format' parameter.

This should also fix the DTACLOUD-25 and DTACLOUD-53 Jira issues.

  -- Michal

View raw message