[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Popcon-developers] HTTP POST support for popcon



[Bill Allombert]
> I have made some packages that report using both smtp and http POST
> (to the test adress) here:
> http://people.debian.org/~ballombe/popcon/debs
> 
> and I plan to ask debian-devel to try them.

Cool.  I just tested it, and it didn't report any errors.  I had a
look at the upload script, and noticed the HTTP headers used.  Instead
of using

  Content-Type: application/octet-stream

I suggest using 

  Content-Encoding: x-gzip
  Content-Type: text/plain; charset=utf-8

to document that the content is compressed text.  I guess the current
charset used is ASCII, but specifying utf-8 will be forward
compatible. :)

It is probably a good idea to move the hostname/URL to connect to into
a configuration file.  I suggest we use
/usr/share/popularity-contest/default.conf for this too, and place
local overrides in /etc/popularity-contest.conf as usual.

Is this version in CVS?



Reply to: