@@ -115,6 +115,11 @@ Client.prototype.request = function(method, filename, headers){
   }
 
   filename = ensureLeadingSlash(filename);
+  filename = filename.replace(/\!/g, "%21")
+                 .replace(/\'/g, "%27")
+                 .replace(/\(/g, "%28")
+                 .replace(/\)/g, "%29")
+                 .replace(/\*/g, "%2A");
 
   // Default headers
   utils.merge(headers, {