[Openstack] [Glance] Using HTTP PATCH

Mark Nottingham mnot at mnot.net
Thu May 24 12:09:08 UTC 2012


On 24/05/2012, at 10:06 PM, Brian Waldon wrote:

> 
> On May 24, 2012, at 4:12 AM, Mark Nottingham wrote:
> 
>> The other limitation is having defined and registered patch formats. The IETF is currently working on one for JSON; it should be progressing soon. <http://tools.ietf.org/html/draft-ietf-appsawg-json-patch>
> 
> I guess I haven't done enough research on PATCH, as I hadn't discovered this yet. I was just planning on using the method to be more semantically correct: allowing requests with a content-type of application/json and a partial representation of an entity. Is there anything about PATCH that would disallow that? 


Yes, very much so. See:

  http://www.rfc-editor.org/errata_search.php?rfc=5789

Cheers,


--
Mark Nottingham   http://www.mnot.net/







More information about the Openstack mailing list