On 10 Feb 2017, at 7:07, Denis Makogon wrote:
> Greetings. > > I've been developing Swift middleware that depends on specific HTTP headers > and figured out that there's only one way to specify them on client side - > only in programmatically i can add HTTP headers to each Swift HTTP API > method (CLI and dashboard are not supporting HTTP headers configuration, > except by default enabled cases like "copy" middleware because swiftclient > defines in as separate API method). > > My point here is, as developer, i don't have OpenStack-aligned way to > examine HTTP headers-dependent middleware without hacking into both > swiftclient and dashboard what makes me fall back to cURL that brings a lot > overhead while working with Swift. > > So, is there any interest in having such thing in swiftclient and, > subsequently, in dashboard? > If yes, let me know (it shouldn't be that complicated because at > swiftclient python API level we already capable to send HTTP headers). Good news! python-swiftclient already supports sending arbitrary headers via the CLI with the -H/--header (in addition to the SDK, as you mentioned). IIRC this is *not* yet supported in the combined openstack client, but I think it would be a great addition. --John > > Kind regards, > Denis Makogon > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
signature.asc
Description: OpenPGP digital signature
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev