Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple, low-level http library for Go
branch: release.r60.3

This branch is 1 commit behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
LICENSE
Makefile
Readme.md
httplib.go
httplib_test.go

Readme.md

About

httplib.go is a simple extension of Go's http client that provides a nice fluid interface for building HTTP requests

Usage

This is a small usage example:

//get the google home page
c := new(httplib.Client)
resp, err := c.Request ("http://google.com", "GET", nil, "")
data := ioutil.ReadAll( resp.Body )
println(string(data))
Something went wrong with that request. Please try again.