Skip to content

Commit bab5b70

Browse files
committed
Merge branch 'master' into fix-flutter-image-preview
2 parents 0e42695 + 32c3017 commit bab5b70

File tree

9 files changed

+8
-10
lines changed

9 files changed

+8
-10
lines changed

templates/cli/src/Client.php.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class Client
174174
*/
175175
public function addHeader($key, $value)
176176
{
177-
$this->headers[strtolower($key)] = strtolower($value);
177+
$this->headers[strtolower($key)] = $value;
178178
179179
return $this;
180180
}

templates/deno/src/client.ts.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class Client {
5050
* @param value string
5151
*/
5252
addHeader(key: string, value: string): this {
53-
this.headers[key.toLowerCase()] = value.toLowerCase();
53+
this.headers[key.toLowerCase()] = value;
5454

5555
return this;
5656
}

templates/node/lib/client.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Client {
6262
* @param value string
6363
*/
6464
addHeader(key, value) {
65-
this.headers[key.toLowerCase()] = value.toLowerCase();
65+
this.headers[key.toLowerCase()] = value;
6666

6767
return this;
6868
}

templates/php/src/Client.php.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class Client
9797
*/
9898
public function addHeader($key, $value)
9999
{
100-
$this->headers[strtolower($key)] = strtolower($value);
100+
$this->headers[strtolower($key)] = $value;
101101
102102
return $this;
103103
}

templates/python/package/client.py.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Client:
2323
return self
2424

2525
def add_header(self, key, value):
26-
self._global_headers[key.lower()] = value.lower()
26+
self._global_headers[key.lower()] = value
2727
return self
2828
{% for header in spec.global.headers %}
2929

templates/ruby/lib/container/client.rb.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module {{spec.title | caseUcfirst}}
4545
end
4646

4747
def add_header(key, value)
48-
@headers[key.downcase] = value.downcase
48+
@headers[key.downcase] = value
4949

5050
return self
5151
end

templates/swift/Sources/Client.swift.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ open class Client {
7979
///
8080
open func addHeader(key: String, value: String) -> Client {
8181

82-
self.headers[key.lowercased()] = value.lowercased()
82+
self.headers[key.lowercased()] = value
8383

8484
return self
8585
}

templates/typescript/src/client.ts.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class Client {
5050
* @param value string
5151
*/
5252
addHeader(key: string, value: string): this {
53-
this.headers[key.toLowerCase()] = value.toLowerCase();
53+
this.headers[key.toLowerCase()] = value;
5454

5555
return this;
5656
}

templates/web/README.md.twig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ To install with a CDN (content delivery network) add the following scripts to th
4848
{{ sdk.gettingStarted|raw }}
4949
{% endif %}
5050

51-
{{ sdk.readme|html }}
52-
5351
## Contribution
5452

5553
This library is auto-generated by Appwrite custom [SDK Generator](https://github.com/appwrite/sdk-generator). To learn more about how you can help us improve this SDK, please check the [contribution guide](https://github.com/appwrite/sdk-generator/blob/master/CONTRIBUTING.md) before sending a pull-request.

0 commit comments

Comments
 (0)