Skip to content

Commit 3056c72

Browse files
committed
Description modified
1 parent 7c61d0d commit 3056c72

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

http.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ type respResult struct {
4444
}
4545

4646
const optionDescription = `option:
47-
-b\t\tDefine body input type.(hex: hexdecimal output. ex/[ascii]"Hello" -> 48656c6c6f, b64: base64 encoded, txt(default): text)
48-
-B\t\tDefine body output type.(hex: hexdecimal output. ex/[ascii]"Hello" -> 48656c6c6f, b64: base64 encoded, txt(default): text)
49-
-c\t\tDefine result charset when output type was txt. Default charset utf8
50-
-H\t\tPass custom headers to server (H)
51-
-O\t\tDefine kind of reult.(PROTO, STATUS or STATUS_CODE, HEADER, BODY(default), FULL) ex/-O PROTO|STATUS|HEADER|BODY equal -O FULL
52-
-s\t\tDefine tls/ssl skip verified true / false
47+
-bDefine body input type.(hex: hexdecimal output. ex/[ascii]"Hello" -> 48656c6c6f, b64: base64 encoded, txt(default): text)
48+
-BDefine body output type.(hex: hexdecimal output. ex/[ascii]"Hello" -> 48656c6c6f, b64: base64 encoded, txt(default): text)
49+
-cDefine result charset when output type was txt. Default charset utf8
50+
-HPass custom headers to server (H)
51+
-ODefine kind of reult.(PROTO, STATUS or STATUS_CODE, HEADER, BODY(default), FULL) ex/-O PROTO|STATUS|HEADER|BODY equal -O FULL
52+
-sDefine tls/ssl skip verified true / false
5353
`
5454
const arrLength = 1 << 30
5555

@@ -332,7 +332,7 @@ func http_help(initid *C.UDF_INIT, args *C.UDF_ARGS, result *C.char, length *uin
332332
msg := `
333333
Method List.
334334
http_raw(method string, url string, body string, option ...string) requires method, url, body argment
335-
http_get(url string, , option ...string) requires url argment
335+
http_get(url string, option ...string) requires url argment
336336
http_post(url string, contentType string, body string, option ...string) requires url, contentType, body argment
337337
338338
` + optionDescription

0 commit comments

Comments
 (0)