Statistics
| Branch: | Tag: | Revision:

root / gss / test / rest-api-test.html @ c6f8f128

History | View | Annotate | Download (4.2 kB)

# Date Author Comment
1d36b941 03/06/2009 06:48 pm pastith

Allow GET requests for files with the authorization and date headers passed as request parameters instead of HTTP headers. This should solve some hairy issues on implementing file downloads for browser-based clients.

bda7d76d 03/05/2009 04:45 pm pastith

Add support for authenticated uploads from browser-based web apps using form POST. Essentially we just defer the authentication until we verify that it's a multipart POST with the proper parameters (Date & Authorization with the same content as the respective headers). This resulted in extracting the two main validation procedures into separate reusable methods, isTimeValid() & isSignatureValid().

47d800f9 02/19/2009 05:26 pm pastith

- Properly encode resource names and paths while constructing the JSON response.
- Modify the signature calculation algorithm, in order to accomodate file names with spaces or localized file names. Now the path must be URI-encoded (once!) before being concatenated to the rest of the signature.

14ad7326 02/17/2009 03:47 pm pastith

Initial import.