History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1181
Type: Bug Bug
Status: Resolved Resolved
Resolution: Incomplete
Priority: Major Major
Assignee: Robin Shen
Reporter: Lee Ji Sup
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

No http 401 error when using RESTful API without authentication

Created: 26/Dec/11 08:07 AM   Updated: 06/Jan/12 09:23 AM
Return to search
Component/s: None
Affects Version/s: 3.1.65
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
It seems no http 401 error happens when using RESTful API without authentication.

curl http://XXX/latest_builds?parent_configuration_id=1&recursive=true ( no -u option)
=> 401 Error happens before 3.1.64
=> Empty XML returns after 3.1.64, including new QB 4.

Most libraries (including httplib2) authenticate just after when 401 error happens.
This bug makes applications using RESTful APIs get empty data even if they pass ID and password to library.

 All   Comments   Work Log   Change History      Sort Order:
Change by Robin Shen [26/Dec/11 01:24 PM]
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Incomplete [ 4 ]