[Bug 411435] Re: error parsing HTTP Status-Line

Bug Watch Updater 411435 at bugs.launchpad.net
Wed Aug 10 22:53:00 UTC 2011


** Changed in: apt (Debian)
       Status: Unknown => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/411435

Title:
  error parsing HTTP Status-Line

Status in “apt” package in Ubuntu:
  Fix Released
Status in “apt” package in Debian:
  Fix Released

Bug description:
  Binary package hint: apt

  Version:  0.7.20.2ubuntu6
  Description:	Ubuntu 9.04
  Release:	9.04

  
  root at Lena:/home/viktor# apt-get update -o Debug::Acquire::http=true 
  0% [Pracuje]GET /ubuntu/dists/jaunty/Release.gpg HTTP/1.1
  Host: pl.archive.ubuntu.com
  Connection: keep-alive
  User-Agent: Ubuntu APT-HTTP/1.3 (0.7.20.2ubuntu6)

  
  GET /ubuntu/dists/jaunty/multiverse/i18n/Translation-pl.bz2 HTTP/1.1
  Host: pl.archive.ubuntu.com
  Connection: keep-alive
  If-Modified-Since: Tue, 09 Jun 2009 13:03:09 GMT
  User-Agent: Ubuntu APT-HTTP/1.3 (0.7.20.2ubuntu6)

  
  HTTP/1.0 200 OK
  Date: Mon, 10 Aug 2009 13:32:09 GMT
  Server: Apache/2.2.0 (Unix)
  Last-Modified: Wed, 22 Apr 2009 21:35:26 GMT
  ETag: "ad699-bd-4682b8aa82380"
  Accept-Ranges: bytes
  Content-Length: 189
  Content-Type: text/plain
  Age: 644
  X-Cache: HIT from localhost
  X-Cache-Lookup: HIT from localhost:19371
  Via: 1.0 localhost (squid/3.0.STABLE8)
  Proxy-Connection: keep-alive

  Pob: 1 http://pl.archive.ubuntu.com jaunty Release.gpg [189B]
  98% [Podłączanie do pl.archive.ubuntu.com (153.19.251.225)]GET /ubuntu/dists/jaunty/multiverse/i18n/Translation-pl.bz2 HTTP/1.1
  Host: pl.archive.ubuntu.com
  Connection: keep-alive
  If-Modified-Since: Tue, 09 Jun 2009 13:03:09 GMT
  User-Agent: Ubuntu APT-HTTP/1.3 (0.7.20.2ubuntu6)

  
  HTTP/1.0 304 
  Date: Sat, 08 Aug 2009 14:06:13 GMT
  Content-Type: text/plain
  Last-Modified: Tue, 09 Jun 2009 13:03:09 GMT
  Age: 171400
  Warning: 113 localhost (squid/3.0.STABLE8) This cache hit is still fresh and more than 1 day old
  X-Cache: HIT from localhost
  X-Cache-Lookup: HIT from localhost:19371
  Via: 1.0 localhost (squid/3.0.STABLE8)
  Proxy-Connection: keep-alive

  Błąd http://pl.archive.ubuntu.com jaunty/multiverse Translation-pl
    Serwer HTTP przysłał nieprawidłowy nagłówek odpowiedzi 
  ...
  Other requests...

   Serwer HTTP przysłał nieprawidłowy nagłówek odpowiedzi  <- means HTTP
  server send incorect header in respone.


  Lets look at this response from squid3 cache. It is "HTTP/1.0 304 "
  with trailing space and empty reason phrase. According to rfc2616
  section 6.1.1:

   Reason-Phrase  = *<TEXT, excluding CR, LF>

  so it can be empty. I will bet that this is the problem.

  Regards.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/411435/+subscriptions




More information about the foundations-bugs mailing list