openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #12174
Re: [Glance] Using HTTP PATCH
Patch certainly seems more semantically proper in this context, and I love being semantically proper using HTTP… That being said I am not currently sure of any places where this might be a problem. There was mention of the firewall issues, but I don't know if that is necessarily true.
Do firewalls typically/ever do deep inspections of HTTP headers in the communication and filter on the HTTP method? It wouldn't even be able to do such a thing if you are using HTTPS, would it?
John Postlethwait
Nebula, Inc.
206-999-4492
On Wednesday, May 23, 2012 at 2:02 PM, Brian Waldon wrote:
> Relevant links:
>
> https://review.openstack.org/#/c/7716/
> http://tools.ietf.org/html/rfc5789
> http://weblog.rubyonrails.org/2012/2/25/edge-rails-patch-is-the-new-primary-http-method-for-updates/
>
>
> On May 23, 2012, at 1:22 PM, Brian Waldon 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 : openstack@xxxxxxxxxxxxxxxxxxx (mailto:openstack@xxxxxxxxxxxxxxxxxxx)
> > Unsubscribe : https://launchpad.net/~openstack
> > More help : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx (mailto:openstack@xxxxxxxxxxxxxxxxxxx)
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
References