Creating blob using PUT/format=json returns 'HTTP/1.1 406 Not Acceptable' -
blob is successfully created
--------------------------------------------------------------------------------------------------------
Key: DTACLOUD-172
URL: https://issues.apache.org/jira/browse/DTACLOUD-172
Project: DeltaCloud
Issue Type: Bug
Components: Server
Environment: Deltacloud git commit version:
7e372dfca79c02a799046287e5936129216b781b - branch 'master' of
https://git-wip-us.apache.org/repos/asf/deltacloud
Fedora 16, RHEL 6.2
ec2 provider
Reporter: Ronelle Landy
Assignee: Marios Andreou
Creating blob using PUT/format=json returns 'HTTP/1.1 406 Not Acceptable'
although blob is successfully created:
curl -H 'content-type: text/html' -H 'X-Deltacloud-Blobmeta-Name:myblob' -H
'X-Deltacloud-Blobmeta-Version:2.4' -H 'X-Deltacloud-Blobmeta-Author:rlandy'
-iv --upload-file "/home/rlandy/Temp/rhel62rhevm.xml" --user
"username:password"
"http://localhost:3009/api/buckets/bucket-rlandy2/03222012blob6?format=json"
* About to connect() to localhost port 3009 (#0)
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 3009 (#0)
* Server auth using Basic with user 'AKIAJCBB265A57CGKR2Q'
> PUT /api/buckets/bucket-rlandy2/03222012blob6?format=json HTTP/1.1
> Authorization: Basic
> QUtJQUpDQkIyNjVBNTdDR0tSMlE6bVJxUG80QzU2NmVwT2F1SXhPNGZhRnNPZGVUeXVzN29PVmRIS2d3NQ==
> User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0
> zlib/1.2.5 libidn/1.22 libssh2/1.2.7
> Host: localhost:3009
> Accept: */*
> content-type: text/html
> X-Deltacloud-Blobmeta-Name:myblob
> X-Deltacloud-Blobmeta-Version:2.4
> X-Deltacloud-Blobmeta-Author:rlandy
> Content-Length: 931
> Expect: 100-continue
>
* Done waiting for 100-continue
* We are completely uploaded and fine
< HTTP/1.1 406 Not Acceptable
HTTP/1.1 406 Not Acceptable
< Content-Type: text/html;charset=utf-8
Content-Type: text/html;charset=utf-8
< X-Frame-Options: sameorigin
X-Frame-Options: sameorigin
< Server: Apache-Deltacloud/0.5.0
Server: Apache-Deltacloud/0.5.0
< Date: Thu, 22 Mar 2012 20:48:02 GMT
Date: Thu, 22 Mar 2012 20:48:02 GMT
< X-Runtime: 0.907590
X-Runtime: 0.907590
< X-XSS-Protection: 1; mode=block
X-XSS-Protection: 1; mode=block
< Content-Length: 0
Content-Length: 0
< Connection: keep-alive
Connection: keep-alive
<
* Connection #0 to host localhost left intact
* Closing connection #0
Assigning to Marios as requested
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira