Side navigation
#8884 closed bug (fixed)
Opened April 15, 2011 07:16PM UTC
Closed April 15, 2011 09:21PM UTC
Last modified April 19, 2011 07:30AM UTC
jqXHR breaks names of custom header fields
Reported by: | debil@wieseln.de | Owned by: | sbisbee |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | ajax | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I want to send an OCCI header via a jQuery.ajax() request.
The header is
X-OCCI-Attribute: occi.compute.Category=compute occi.compute.architecture=x86 occi.compute.cores=2 occi.compute.hostname=test occi.compute.memory=2.0 occi.compute.speed=2.4
What jQuery sends to the server is
X-Occi-Attribute: occi.compute.Category=compute occi.compute.architecture=x86 occi.compute.cores=2 occi.compute.hostname=test occi.compute.memory=2.0 occi.compute.speed=2.4
As you can see the name for the header value is changed from ''X-OCCI-Attribute'' to ''X-Occi-Attribute''. Since the header value's name is case sensitive for OCCI, this breaks communication with the API.
Please do not change the case of header field names.
Attachments (0)
Change History (4)
Changed April 15, 2011 08:21PM UTC by comment:1
component: | unfiled → ajax |
---|---|
owner: | → sbisbee |
priority: | undecided → high |
status: | new → assigned |
Changed April 15, 2011 09:21PM UTC by comment:2
milestone: | 1.next → 1.6 |
---|---|
resolution: | → fixed |
status: | assigned → closed |
Changed April 15, 2011 09:30PM UTC by comment:3
Thanks for that fast response. :)