Hello,

On Sun, Jan 27, 2008 at 01:32:33PM +0000, Adam D. Barratt wrote:
> On Sun, 2008-01-27 at 14:09 +0100, Artur R. Czechowski wrote:
> [...]
> > I just found that uscan by default does not provide an User-Agent HTTP
> > header. Additionaly, I've found that webserver hosting upstream sources does
> > not like requests without U-A header and answers:
> [...]
> > I do not know about reasons for it and I will investiage it. But regardless
> > of the problem it would be nice, if any HTTP/HTTPS request sent by uscan
> > provided a default U-A header like
> > 'uscan ver. X.Y.Z http://what.is.uscan/'
> Could you possibly provide us with a trace of what was sent to the
> server in this case, or your watch file so we can investigate?
Watch file is attached.

uscan command:
uscan --report --verbose --debug

uscan output:
-- Scanning for watchfiles in .
-- Found watchfile in ./libqglviewer-2.2.6-3/debian
-- In debian/watch, processing watchfile line:
   
http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/src/libQGLViewer-([0-9].*)\.tar\.gz
    debian uupdate
uscan debug: requesting URL 
http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/src/
uscan warning: In watchfile debian/watch, reading webpage
  http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/src/ failed: 400 Bad 
Request
-- Scan finished

Request from uscan:

GET /Members/Gilles.Debunne/QGLViewer/src/ HTTP/1.1
TE: deflate,gzip;q=0.3
Connection: TE, close
Host: artis.imag.fr

Result of
tcpdump -l -s 1800 -w /tmp/uscan.tcpdump host artis.imag.fr
command is attached.

As you can see there is no U-A header in the request.

Best regards
        Artur
-- 
Wyjaśnienie odwołujące się do przetrwania, niczego nie wyjaśnia,
dopóki nie wyjaśni się, dlaczego przetrwanie przetrwało
                        /Pierre Bourdieu, Jean Claude Passeron "Reprodukcja"/
# Example watch control file for uscan
# Rename this file to "watch" and then you can run the "uscan" command
# to check for upstream updates and more.
# Site          Directory               Pattern                 Version Script
version=2
http://artis.imag.fr/Members/Gilles.Debunne/QGLViewer/src/libQGLViewer-([0-9].*)\.tar\.gz
       debian uupdate

Attachment: uscan.tcpdump
Description: Binary data

Reply via email to