Skip to content

Commit

Permalink
docs(binding-http/http-client-impl): correct code comment
Browse files Browse the repository at this point in the history
Co-authored-by: danielpeintner <daniel.peintner@gmail.com>
  • Loading branch information
relu91 and danielpeintner authored May 10, 2024
1 parent 2ced920 commit bc4f3ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/binding-http/src/http-client-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default class HttpClient implements ProtocolClient {

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

0 comments on commit bc4f3ae

Please sign in to comment.