John,

Feel free to add this to the OAuth library using the Apache license,
if you want to add me as a committer that is fine also.

For POST parameters that might be a little trickier as you would need
to intercept the body before you process the headers. I'm not sure how
that would work in the HttpClient world. This would only apply if x-
url-encoded was used. I don't think OAuth supports it for multi-part/
form data or other types of body.

Does the OAuth spec support using the PUT body?

I think it should be possible to add the parameters to the query
string also. For this you would get the query string request header
(for GET) and then add the parameters and then set the header to the
new value. The OAuthSchemeFactory could have boolean properties which
would allow the user to select using the Authenticate header, the
query string, or both.

Paul

On Mar 23, 9:28 am, [email protected] wrote:
> Great!
>
> Can this be extended to get parameters from a POST or PUT body, in
> addition to the URI query string?  Some applications send parameters
> via POST.
>
> Can this be extended to add OAuth parameters to the URL query string
> or POST body (instead of an Authorization header)?  Some service
> providers don't accept an Authorization header.
>
> You're welcome to add OAuthScheme etc. to the oauth-core Java library,
> if you like.  It would be licensed under the Apache license.  I
> recommend placing it in the package net.oauth.client.httpclient4.  I
> could commit it for you, or we could enroll you as a committer.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to