Add functionality to define requests without body

Bug #1537121 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Unassigned

Bug Description

https://review.openstack.org/207150
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.

commit 9b430f99518e10ae263bedec3062408af332068c
Author: Niall Bunting <email address hidden>
Date: Tue Jul 28 15:05:10 2015 +0000

    Add functionality to define requests without body

    This allows functions that do not accept bodies to define this in the
    router file. As currently many requests will cause a 500 if a body is
    supplied when the API request does not expect it.

    This currently only affects the core parts of the v2 api, that is,
    calls to v2/images and v2/schemas. It does not cover the "tasks" API
    or the metadefs api as I was keeping this patch concise. As this
    does not affect the behaviour if not included this makes no change to
    the metadefs api behaviour.

    DocImpact

    Partial-Bug: 1475647

    Change-Id: Ieb510e5516128078d40d39fd9b4f339ce64e10e7

Tags: api-ref glance
Vishal (vishaldhanopia)
Changed in openstack-manuals:
assignee: nobody → Mark (rocky-asdf)
Revision history for this message
Atsushi SAKAI (sakaia) wrote :

For API-site, this change affects error response code(400).

see
https://review.openstack.org/#/c/207150/13/glance/tests/functional/v2/test_images.py

Changed in openstack-api-site:
status: New → Confirmed
Revision history for this message
Atsushi SAKAI (sakaia) wrote :

In my opinion, It does not need to describe the documents (i.e. openstack-manuals).

Revision history for this message
Alexandra Settle (alexandra-settle) wrote :

Agreed that this is not a bug in manuals.

Changed in openstack-manuals:
status: New → Invalid
no longer affects: openstack-manuals
Atsushi SAKAI (sakaia)
affects: openstack-api-site → glance
tags: added: api-ref
Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

This has been fixed in the current api-ref, which is located in the Glance code repository.

Changed in glance:
status: Confirmed → 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.