available_apps redirects to https
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Center Agent |
Confirmed
|
Low
|
Unassigned |
Bug Description
While looking at the caching behavior I noticed that we currently automatically redirect to https for the
"available_apps" call. This is a anonymous call so it could be served via http too.
mvo@bod:
connect: (software-
send: u'GET /api/2.
reply: 'HTTP/1.1 301 Moved Permanently\r\n'
header: Date: Tue, 31 Jan 2012 08:26:44 GMT
header: Server: Apache/2.2.14 (Ubuntu)
header: Location: https:/
header: Vary: Accept-Encoding
header: Content-Encoding: gzip
header: Content-Length: 278
header: Connection: close
header: Content-Type: text/html; charset=iso-8859-1
connect: (software-
send: 'GET /api/2.
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Tue, 31 Jan 2012 08:26:45 GMT
header: Server: Apache/2.2.14 (Ubuntu)
header: Expires: Tue, 31 Jan 2012 08:34:33 GMT
header: Vary: Authorization
header: ETag: "566fc18647ab38
header: Cache-Control: max-age=600
header: Last-Modified: Tue, 31 Jan 2012 08:24:33 GMT
header: Content-Type: application/json; charset=utf-8
header: Via: 1.1 software-
header: Transfer-Encoding: chunked
Changed in software-center-agent: | |
status: | New → Confirmed |
Given that apparently our servers do just fine I lower the priority.