Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: HttpBuilder
-
Labels:None
-
Number of attachments :
Description
It looks like the last element of the path is being lost if it does not end with a "/".
Using this code, I'm constructing an instance and calling 'listDownloads':
http://bit.ly/HLTqDT
I get this in my log:
15:13:05.561 [INFO] [com.smokejumperit.api.GitHubApi3] RobertFischer/github-api-3 created repository REST path: https://api.github.com/repos/RobertFischer/github-api-3/downloads
15:13:05.941 [DEBUG] [groovyx.net.http.RESTClient] GET https://api.github.com/repos/RobertFischer/github-api-3/
Looks like "downloads" is getting lost of the URL. I suspect it's because it's the last element in the path, since there's no trailing "/".