(input string)
| 151 | } |
| 152 | |
| 153 | func urlEncodeAll(input string) string { |
| 154 | encoded := "" |
| 155 | for i := 0; i < len(input); i++ { |
| 156 | encoded += fmt.Sprintf("%%%02X", input[i]) |
| 157 | } |
| 158 | return encoded |
| 159 | } |
| 160 | |
| 161 | /* TODO wie bei requestCookies nur die erste occurrence eines headers aufnehmen */ |
| 162 | func setRequestHeaders(req *fasthttp.Request, cb string) { |
no outgoing calls
no test coverage detected