Skip to content

Commit bc4f3ae

Browse files
docs(binding-http/http-client-impl): correct code comment
Co-authored-by: danielpeintner <daniel.peintner@gmail.com>
1 parent 2ced920 commit bc4f3ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/binding-http/src/http-client-impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default class HttpClient implements ProtocolClient {
113113

114114
public async readResource(form: HttpForm): Promise<Content> {
115115
// See https://www.w3.org/TR/wot-thing-description11/#contentType-usage
116-
// Cases: 1B
116+
// Case: 1B
117117
const headers = form.contentType != null ? [["accept", form.contentType]] : [["accept", ContentSerdes.DEFAULT]];
118118
const request = await this.generateFetchRequest(form, "GET", { headers });
119119
debug(`HttpClient (readResource) sending ${request.method} to ${request.url}`);

0 commit comments

Comments
 (0)