Details
-
Bug
-
Resolution: Fixed
-
Low
-
4.2
-
4.2-beta2
Description
This behaviour happened the same for these both scenarios:
- When there is no popular content at all
- When there is popular content which is viewable by anonymous users
The rest call gets 401:
Request URL:http://localhost:8090/rest/mobile/1.0/stream/popular?days=7&pageSize=20 Request Method:GET Status Code:401 Unauthorized Request Headers - view parsed GET /rest/mobile/1.0/stream/popular?days=7&pageSize=20 HTTP/1.1 Host: localhost:8090 Connection: keep-alive Cache-Control: no-cache X-Requested-With: XMLHttpRequest Pragma: no-cache User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11 Content-Type: application/json; charset=utf-8 Accept: application/json, text/javascript, */*; q=0.01 Referer: http://localhost:8090/dashboard.action Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: confluence.browse.space.cookie=space-pages; confluence.list.pages.cookie=list-alphabetically; AJS.conglomerate.cookie=||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||upm.tab=manage; JSESSIONID=81CCF11E04147697B372CB2689062D8B; doc-sidebar=300px Query String Parametersview decoded days:7 pageSize:20 Response Headers - view parsed HTTP/1.1 401 Unauthorized Server: Apache-Coyote/1.1 Cache-Control: no-transform WWW-Authenticate: OAuth realm="http%3A%2F%2Flocalhost%3A8410" Content-Type: application/xml Content-Length: 174 Date: Thu, 22 Mar 2012 10:58:04 GMT