Yoav Landman-2 wrote:
>
> On Mon, Jun 28, 2010 at 8:55 PM, Evgeny Goldin <[email protected]> wrote:
>
> I believe the Spring queries set a content-type header that is not
> accepted
> by Artifactory's REST API and that's why you get a 406. Can you check with
> one method that fails and let us know which one and what was the content
> type value?
>
>
Ok, I'll check it tomorrow evening or day after tomorrow.
Yoav Landman-2 wrote:
>
>
>>
>> Also, is there a way to configure Artifactory so that anonymous user can
>> invoke any REST call without sending credentials? It didn't work for me
>> even
>> after I provided it a "delete" permissions.
>> I understand it is a security bridge but it would be nice to disable a
>> "privileged user" REST requirement just for a while.
>>
>
> Are you trying to issue a DELETE query as anonymous? If you gave the
> anonymous user delete rights then it should work and it looks like a bug -
> feel free to open an issue.
>
>
No, I was issuing a simple "/api/storage/{repoName}/{groupId}/{artifactId}"
request to get a folder metadata, trying to see the latest version
available. Yes, anonymous user has all rights, except "admin".
I'll check it again and will open a bug with a dump of HTTP headers.
-----
Best regards,
Evgeny
http://evgeny-goldin.com/
--
View this message in context:
http://forums.jfrog.org/REST-API-returns-406-Not-Acceptable-when-working-with-Spring-3-RestTemplate-tp5231906p5232548.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users