MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / requestQueryString

Method requestQueryString

internal/nodes/http_request.go:1378–1384  ·  view source on GitHub ↗

获取的URI中的参数部分

()

Source from the content-addressed store, hash-verified

1376
1377// 获取的URI中的参数部分
1378func (this *HTTPRequest) requestQueryString() string {
1379 uri, err := url.ParseRequestURI(this.uri)
1380 if err != nil {
1381 return ""
1382 }
1383 return uri.RawQuery
1384}
1385
1386// 构造类似于"GET / HTTP/1.1"之类的请求字符串
1387func (this *HTTPRequest) requestString() string {

Callers 2

FormatMethod · 0.95
logMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected