Above all, I want to keep the API spec as clean as possible. We would have to 
design a way to communicate what method we use if we make it configurable by 
the backend like you suggest. That seems like its moving away from cleanliness 
rather than toward. 

I'm more interested in first hearing if PATCH is a viable option. Rails is 
going to use it, so I feel like people are going to have to get on board 
eventually.

Brian


On May 23, 2012, at 1:39 PM, Joshua Harlow wrote:

> Is there anyway u can just make it a configuration option?
> 
> v2imagemethod = ‘PUT’...
> 
> On 5/23/12 1:22 PM, "Brian Waldon" <[email protected]> wrote:
> 
> Hey guys,
> 
> I'm considering using PATCH rather than PUT for image updates in the v2 Image 
> API, but I wanted to make sure there weren't any major blockers that I might 
> be missing. As far as I can tell, the python libraries we use in Glance 
> support it (httplib2, requests). However, I discovered that Squid doesn't 
> document official support of the method: 
> http://wiki.squid-cache.org/SquidFaq/SquidLogs. I wanted to ask if there are 
> any other key infrastructure pieces that foolishly hard-code request methods 
> like this. It might make us want to rethink using PATCH at all.
> 
> Brian
> 

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to