http: make do() public
parent
d8df8474bc
commit
5a9116b697
|
@ -77,7 +77,7 @@ fn write_fn(contents byteptr, size, nmemb int, _mem *MemoryStruct) int {
|
|||
|
||||
struct C.curl_slist { }
|
||||
|
||||
fn (req &Request) do() Response {
|
||||
pub fn (req &Request) do() Response {
|
||||
//println('req.do() mac/linux url="$req.url" data="$req.data"')
|
||||
// println('req.do() url="$req.url"')
|
||||
/*
|
||||
|
|
|
@ -20,7 +20,7 @@ import const (
|
|||
INTERNET_SERVICE_HTTP
|
||||
)
|
||||
|
||||
fn (req &Request) do() Response {
|
||||
pub fn (req &Request) do() Response {
|
||||
emptyresp := Response{}
|
||||
mut url := req.url
|
||||
//println('\n\nhttp.do() WIN URL="$url" TYP=$req.typ data="$req.data" headers.len=req.headers.len"')
|
||||
|
|
Loading…
Reference in New Issue