You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by mf...@redhat.com on 2012/08/27 18:27:39 UTC
[PATCH core] CIMI: Renamed X-CIMI-Specification-Version header
From: Michal Fojtik <mf...@redhat.com>
Signed-off-by: Michal fojtik <mf...@redhat.com>
---
server/lib/cimi/helpers.rb | 2 +-
server/tests/cimi/collections/cloud_entry_point_test.rb | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/server/lib/cimi/helpers.rb b/server/lib/cimi/helpers.rb
index b645fbb..2dba3be 100644
--- a/server/lib/cimi/helpers.rb
+++ b/server/lib/cimi/helpers.rb
@@ -86,7 +86,7 @@ module CIMI::Collections
end
after do
- headers 'X-CIMI-Specification-Version' => Deltacloud[:cimi].version
+ headers 'CIMI-Specification-Version' => Deltacloud[:cimi].version
end
def self.new_route_for(route, &block)
diff --git a/server/tests/cimi/collections/cloud_entry_point_test.rb b/server/tests/cimi/collections/cloud_entry_point_test.rb
index 3a01fb7..ba9764b 100644
--- a/server/tests/cimi/collections/cloud_entry_point_test.rb
+++ b/server/tests/cimi/collections/cloud_entry_point_test.rb
@@ -17,8 +17,8 @@ describe CIMI::Collections::CloudEntryPoint do
it 'set the CIMI-Version header' do
get root_url
- headers['X-CIMI-Specification-Version'].wont_be_nil
- headers['X-CIMI-Specification-Version'].must_equal '1.0.0'
+ headers['CIMI-Specification-Version'].wont_be_nil
+ headers['CIMI-Specification-Version'].must_equal '1.0.0'
end
it 'advertise CIMI collections in XML format' do
--
1.7.10.2
Re: [PATCH core] CIMI: Renamed X-CIMI-Specification-Version header
Posted by David Lutterkort <lu...@redhat.com>.
On Mon, 2012-08-27 at 18:27 +0200, mfojtik@redhat.com wrote:
> From: Michal Fojtik <mf...@redhat.com>
>
>
> Signed-off-by: Michal fojtik <mf...@redhat.com>
ACK