@@ -44,12 +44,12 @@ type respResult struct {
4444}
4545
4646const 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`
5454const arrLength = 1 << 30
5555
@@ -332,7 +332,7 @@ func http_help(initid *C.UDF_INIT, args *C.UDF_ARGS, result *C.char, length *uin
332332msg := `
333333Method List.
334334http_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
336336http_post(url string, contentType string, body string, option ...string) requires url, contentType, body argment
337337
338338` + optionDescription
0 commit comments