← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1474299] Re: Invalid url returns versions

 

Hi Niall,

I think 300 is ok in this context, see:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

** Changed in: glance
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1474299

Title:
  Invalid url returns versions

Status in Glance:
  Won't Fix

Bug description:
  Overview:
  Returns the list of versions, when an invalid url is sent.

  Steps to reproduce:
  Send anything but the version numbers after the address.
  This works with any http method.

  GET /nonsense HTTP/1.1.
  User-Agent: curl/7.35.0.
  Host: localhost:9292.
  Accept: */*
  Content-Type: application/json

  Expected:
  404 as the content is not found.

  Actual:
  300 with the data on all the version numbers.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1474299/+subscriptions


References