Comment #3 on issue 2670 by pragalath...@gmail.com: /api/session not working with reviewboard 1.6.9
http://code.google.com/p/reviewboard/issues/detail?id=2670

Hi,
Thanks for the clarification. Here is the Java code (using apache http client package) that call the session/api.

HttpGet get = new HttpGet(url + "/api/session");
String auth = Base64.encodeBase64URLSafeString((username + ":" + password).getBytes());
        get.setHeader("Authorization", "Basic " + auth);
        HttpResponse response = httpClient.execute(get);

This exact code works fine with review board 1.6.3 but fails with 1.6.9.
To give some more context, 1.6.3 is running on Kubuntu 11.10 64 bit and 1.6.9 is running on Kubunutu 12.04 32 bit.

Is there any impact due to this?

Also since they are running on different OS versions, there is a possibility that python version also has changed.

1.6.9 is running using Python 2.7.3.

Any help is appreciated.

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to