deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lutterkort <lut...@redhat.com>
Subject Re: Fix for broken driver switching (DTACLOUD-254)
Date Thu, 12 Jul 2012 22:12:28 GMT
On Tue, 2012-07-10 at 14:39 +0200, mfojtik@redhat.com wrote:
> As a bonus, I added a new API call:
> 
> curl -v -X OPTIONS -H 'X-Deltacloud-Driver: ec2' 'http://localhost:3001/api'
> curl -v -X OPTIONS -H 'X-Deltacloud-Driver: mock' 'http://localhost:3001/api'
> 
> => Should return all 'supported' collections for the current driver in 'Allow'
> header.

Why do we need that when a simple GET to the same URL will return the
same information ?

David



Mime
View raw message