Skip to content

Passing headers to Rackspace #5

@rpless

Description

@rpless

We've been using ex-rackspace to access Cloud Files. Some of the files are fairly large, so we needed to pass the Range header to Rackspace. The library currenly doesn't have a way of passing HTTP headers to Rackspace although several of the API endpoints support them. I've partially (and rather messily imo) patched it here. I was wondering if you'd be interested in a more complete and cleaned up PR that adds HTTP header support. If so I'd like to discuss changing the Rackspace.Api.CloudFiles.Object struct. Right now a number of the return headers are put right into the struct as various fields. My feeling is that it might be better to have a resp_headers field on the struct and let a client to ex-rackspace figure out which ones they cared about. Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions