docs: fix typos and update https references (#8154)

Co-authored-by: Tim Lai <timothy.lai@smartbear.com>
This commit is contained in:
Andreas Deininger
2022-08-12 19:14:27 +02:00
committed by GitHub
parent 7e65155a7b
commit 9891d97201
19 changed files with 29 additions and 29 deletions

View File

@@ -320,7 +320,7 @@ describe("curlify", function () {
})
describe("POST when header value is 'multipart/form-data' but header name is not 'content-type'", function () {
it("shoud print a proper curl as -d <data>, when file type is provided", function () {
it("should print a proper curl as -d <data>, when file type is provided", function () {
let file = new win.File([""], "file.txt", { type: "text/plain" })
// file.name = "file.txt"
// file.type = "text/plain"
@@ -340,7 +340,7 @@ describe("curlify", function () {
expect(curlified).toEqual("curl -X 'POST' \\\n 'http://example.com' \\\n -H 'x-custom-name: multipart/form-data' \\\n -d '{\n \"id\": \"123\",\n \"file\": {\n \"name\": \"file.txt\",\n \"type\": \"text/plain\"\n }\n}'")
})
it("shoud print a proper curl as -d <data>, no file type provided", function () {
it("should print a proper curl as -d <data>, no file type provided", function () {
let file = new win.File([""], "file.txt")
// file.name = "file.txt"
// file.type = "text/plain"