<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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. <div><br></div><div>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.</div><div><br></div><div>Brian<br><div><br></div><div><br><div><div>On May 23, 2012, at 1:39 PM, Joshua Harlow wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<title>Re: [Openstack] [Glance] Using HTTP PATCH</title>
<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Is there anyway u can just make it a configuration option?<br>
<br>
v2imagemethod = ‘PUT’...<br>
<br>
On 5/23/12 1:22 PM, "Brian Waldon" <<a href="x-msg://207/brian.waldon@rackspace.com">brian.waldon@rackspace.com</a>> wrote:<br>
<br>
</span></font><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Hey guys,<br>
<br>
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: <a href="http://wiki.squid-cache.org/SquidFaq/SquidLogs">http://wiki.squid-cache.org/SquidFaq/SquidLogs</a>. 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.<br>
<br>
Brian<br>
<br>
</span></font></blockquote>
</div>
</blockquote></div><br></div></div></body></html>