Closed goru97 closed 9 years ago
Instead, just override the expected response codes like here: https://github.com/rackspace/gophercloud/blob/master/openstack/networking/v2/extensions/lbaas/pools/requests.go#L142
@jrperritt That worked! Thanks very much :)
What: Added 200 as ok response code for POST requests.
Why: There is one Rackspace-metrics API (http://docs.rackspace.com/cmet/api/v1.0/cmet-devguide/content/POST_sendMetricsList_views_Query_Operations.html) that responds with 200 code against POST request.
Is it Okay?: Yes, It's OK to send 200 against POST requests. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html