← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1470192] [NEW] '501 Not Implemented' responce while send HTTP request with custom method

 

Public bug reported:

Steps to reproduce:

1. Send request something like this:

ANY-CUSTOM-METHOD /v2/images HTTP/1.1
Host: localhost:2081
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
X-auth-token: fc6fa22976da45b2af76622935825625
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive

Expected result:

HTTP/1.1 HTTP 400 - Bad Request

Actual result:

HTTP/1.1 501 Not Implemented
Content-Length: 216
Content-Type: text/html; charset=UTF-8
X-Openstack-Request-Id: req-req-0deadf35-4b66-471b-bb91-ce88344f898c
Date: Tue, 30 Jun 2015 17:47:52 GMT
Connection: keep-alive

<html>
 <head>
  <title>501 Not Implemented</title>
 </head>
 <body>
  <h1>501 Not Implemented</h1>
  The server has either erred or is incapable of performing the requested operation.<br /><br />


 </body>
</html>

** Affects: glance
     Importance: Undecided
         Status: New


** Tags: glance

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

Title:
  '501 Not Implemented' responce while send HTTP request with custom
  method

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Steps to reproduce:

  1. Send request something like this:

  ANY-CUSTOM-METHOD /v2/images HTTP/1.1
  Host: localhost:2081
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  X-auth-token: fc6fa22976da45b2af76622935825625
  Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
  Accept-Encoding: gzip, deflate
  Connection: keep-alive

  Expected result:

  HTTP/1.1 HTTP 400 - Bad Request

  Actual result:

  HTTP/1.1 501 Not Implemented
  Content-Length: 216
  Content-Type: text/html; charset=UTF-8
  X-Openstack-Request-Id: req-req-0deadf35-4b66-471b-bb91-ce88344f898c
  Date: Tue, 30 Jun 2015 17:47:52 GMT
  Connection: keep-alive

  <html>
   <head>
    <title>501 Not Implemented</title>
   </head>
   <body>
    <h1>501 Not Implemented</h1>
    The server has either erred or is incapable of performing the requested operation.<br /><br />


   </body>
  </html>

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


Follow ups

References