Package: devscripts
Version: 2.10.13
Severity: wishlist
File: /usr/bin/uscan

Hello,
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:

HTTP/1.1 400 Bad Request
Date: Sun, 27 Jan 2008 12:56:00 GMT
Server: Apache
Content-Length: 226
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
</body></html>

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/'
and on http://what.is.uscan/ there could be an explanation what is uscan,
what it's used for and why webadministrators should not block it.

Best regards
        Artur

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages devscripts depends on:
ii  debianutils                   2.28.2     Miscellaneous utilities specific t
ii  dpkg-dev                      1.14.15    package building tools for Debian
ii  libc6                         2.7-6      GNU C Library: Shared libraries
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 
ii  sed                           4.1.5-5    The GNU sed stream editor

Versions of packages devscripts recommends:
ii  fakeroot                      1.9        Gives a fake root environment

-- no debconf information

-- 
http://www.last.fm/user/arturcz/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to