Add "If-None-Match: *" support to PUT

Bug #1301677 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Diane Fleming

Bug Description

https://review.openstack.org/81646
commit 0b893825ebdd63d22d51cce42a3994f120f43921
Author: Chuck Thier <email address hidden>
Date: Wed Mar 19 21:51:17 2014 +0000

    Add "If-None-Match: *" support to PUT

    A common pattern that we see clients do is send a HEAD request before a
    PUT to see if it exists. This can slow things down quite a bit
    especially since 404s on HEAD are currently a bit expensive.

    This change will allow a client to include a "If-None-Match: *" header
    with a PUT request. In combination with "Expect: 100-Continue" this
    allows the server to return that it already has a copy of the object
    before any data is sent.

    I attempted to also include etag support with the If-None-Match header,
    but that turned up having too many hairy edge cases, so was left as a
    future excercise.

    DocImpact

    Change-Id: I94e3754923dbe5faba065719c7a9afa9969652dd

Tags: swift
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → icehouse
Tom Fifield (fifieldt)
affects: openstack-manuals → openstack-api-site
Changed in openstack-api-site:
milestone: icehouse → none
milestone: none → icehouse
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
status: Confirmed → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to api-site (master)

Fix proposed to branch: master
Review: https://review.openstack.org/91427

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/91427
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=b8f48044e62f2c8974c61c6dff929896aa2e2d62
Submitter: Jenkins
Branch: master

commit b8f48044e62f2c8974c61c6dff929896aa2e2d62
Author: Diane Fleming <email address hidden>
Date: Wed Apr 30 13:04:12 2014 -0500

    Add "If-None-Match" header to PUT requests in swift

    Closes-Bug: #1301677

    Change-Id: Ide993b736c116258e8d41b12d8c531feb05af552
    author: diane fleming

Changed in openstack-api-site:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.