Chris Hillery has proposed merging lp:~zorba-coders/zorba/fix-oauth-header into lp:zorba/oauth-module.
Commit message: Insert Authorization header as first node into http:request element, so it will always be valid according to the schema. Requested reviews: Matthias Brantner (matthias-brantner) Chris Hillery (ceejatec) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fix-oauth-header/+merge/156450 -- https://code.launchpad.net/~zorba-coders/zorba/fix-oauth-header/+merge/156450 Your team Zorba Coders is subscribed to branch lp:zorba/oauth-module.
=== modified file 'src/com/zorba-xquery/www/modules/oauth/client.xq' --- src/com/zorba-xquery/www/modules/oauth/client.xq 2012-09-28 08:54:58 +0000 +++ src/com/zorba-xquery/www/modules/oauth/client.xq 2013-04-02 01:12:22 +0000 @@ -567,7 +567,7 @@ let $signature := trace(encode-for-uri(oauth:signature($base-signature, $signature-method, $key)),"signature") let $authorization-header := trace(oauth:authorization-header($params,$realm,$signature),"authorization-header") let $authorization-header := <http:header name="Authorization" value="{$authorization-header}" /> - let $request := copy $request := $protected-resource modify (insert node $authorization-header into $request) return $request + let $request := copy $request := $protected-resource modify (insert node $authorization-header as first into $request) return $request return http-client:send-request( $request )
-- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp