-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the URL generation code so that it won't attach bogus parameters.
Before the fix, for example, [LBFileTests testUpload] generated a path like: "/containers/container1/files/f1.txt?container=container1&name=f1.txt" whereas it should have just been "/containers/container1/files/f1.txt". To fix the issue [SLRESTContract urlForMethod:parameters:] and [SLRESTContract urlWithPattern:parameters:] now take NSMutableDictionary as the parameters argument so that the key-value pairs which are consumed when generating the URL can be removed.
- Loading branch information
Showing
4 changed files
with
36 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters