Okay, this rockspec works if you are using `wget` method of retrieval (which automatically follows 302 redirects):
https://github.com/brimworks/lua-http-parser/raw/master/lua-http-parser-1.0-1.rockspec Note that `curl` doesn't automatically follow redirects, so if this is going to work for everyone then this change needs to be applied: https://github.com/brimworks/luarocks/commit/7f3053c052729e6bbf6ec1477b921540fbde226a I'm not sure about other platform specific download methods, but I only tested wget and curl. Thanks, -Brian On Fri, Jan 14, 2011 at 9:03 PM, Brian Maher <[email protected]> wrote: > Humm... that was working for me when I created the rockspec. Looks > like github downloads aren't working (for me at least): > > https://github.com/brimworks/lua-http-parser/tarball/v1.0 > > Will luarocks work If I specify a URL that does not end in *.zip (aka > does it use the content-type header)? Also, will luarocks follow 302 > Redirects? > > I would try for myself, but every time I request the above URL I get a > 502 Bad Gateway response :-(. > > Thanks, > -Brian > > On Fri, Jan 14, 2011 at 9:32 AM, Hisham <[email protected]> wrote: >> On Sat, Jan 8, 2011 at 9:38 PM, Brian Maher <[email protected]> wrote: >>> Hello, >>> >>> I would like to publish v1.0 of the http.parser rockspec. The >>> rockspec can be fetched from this URL: >>> >>> https://github.com/brimworks/lua-http-parser/raw/5f8ee21c61fc98ea4dfa58cd02b3f0707630edf3/lua-http-parser-1.0-1.rockspec >> >> The URL in the rockspec seems to return 404 File Not Found: >> >> https://download.github.com/brimworks-lua-http-parser-v1.0-0-g4859974.zip >> >> -- Hisham >> >> _______________________________________________ >> Luarocks-developers mailing list >> [email protected] >> http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers >> > > > > -- > Brian Maher >> Glory to God << > -- Brian Maher >> Glory to God << _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
