cjoudrey / gluahttp

gluahttp: an http module for gopher-lua
MIT License
59 stars 23 forks source link

Add a way to change "user_agent" #8

Closed cjoudrey closed 5 years ago

lanybass commented 5 years ago

like this:

http.request("GET", "http://httpbin.org/get", {
    headers={["User-Agent"]="xxx-client"}
})

=========== by the way, whe do you deprecated the option "form"?

erikdubbelboer commented 5 years ago

Agreed this is already possible.

Seeing as this plugin isn't really being developed actively I don't see form being removed any time soon.