Open
Description
I use it like this:
request, err := http.NewRequest("POST", login_url, strings.NewReader(formData.Encode()))
if err != nil {
return err
}
request.Header.Set("Referer", login_url)
request.Header.Set("Content-Type", "application/x-www-form-urlencoded")
response, err := client.Do(request)
if err != nil {
return err
}
fmt.Printf("status code POST: %d\n", response.StatusCode)
browser.OpenReader(response.Body)
The file /tmp/browser.1293014077.html
contains the html.
But the browser seems to not find the file.
I use Chromium on Ubuntu Linux
Metadata
Metadata
Assignees
Labels
No labels