mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
remove print
This commit is contained in:
parent
f12e359ef0
commit
831e8ffb73
@ -1,7 +1,6 @@
|
|||||||
package workers
|
package workers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"io"
|
"io"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
@ -30,7 +29,6 @@ func toHeader(headers js.Value) http.Header {
|
|||||||
entry := entries.Index(i)
|
entry := entries.Index(i)
|
||||||
key := entry.Index(0).String()
|
key := entry.Index(0).String()
|
||||||
values := entry.Index(1).String()
|
values := entry.Index(1).String()
|
||||||
fmt.Printf("key: %s, values: %s\n", key, values)
|
|
||||||
for _, value := range strings.Split(values, ",") {
|
for _, value := range strings.Split(values, ",") {
|
||||||
h.Add(key, value)
|
h.Add(key, value)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user