Swarm Storage has two types of context objects: domains and buckets. When you create them from Gateway, follow these guidelines:
...
Code Block |
---|
Content-Type: application/castorcontext |
The Gateway will return returns an HTTP 400 Bad Request error response to the client if contexts are not explicitly identified as shown during creation.
Info |
---|
NoteContexts that already exist in the storage cluster or that are created directly to the cluster do not require this Content-Type specification in order to work properly with Gateway. |
...
SCSP requires you to add the domain query argument when creating a storage domain, regardless of the existence of a X-Forwarded-Host
or Host
header on the request.
...