Check-in [9bbdaaf8f4]
Overview
| Comment: | bump User-Agent version number |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
9bbdaaf8f4bc7b73e190a55347c10f74 |
| User & Date: | mario on 2014-04-05 23:33:51 |
| Other Links: | manifest | tags |
Context
|
2014-04-05
| ||
| 23:35 | undo disabling of ---url and ---format fields check-in: 893fb7e5ce user: mario tags: trunk | |
| 23:33 | bump User-Agent version number check-in: 9bbdaaf8f4 user: mario tags: trunk | |
| 23:33 | Use fractions instead of floats, to reduce ambiguity for version:_raw_ meta update check-in: c71701ad73 user: mario tags: trunk | |
Changes
Modified http.py from [6932b3bfa3] to [68776c8e4a].
| ︙ | ︙ | |||
97 98 99 100 101 102 103 |
return url
# default HTTP headers for AJAX/POST request
default_headers = {
| | | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
return url
# default HTTP headers for AJAX/POST request
default_headers = {
"User-Agent": "streamtuner2/2.1 (X11; U; Linux AMD64; en; rv:1.5.0.1) like WinAmp/2.1 but not like Googlebot/2.1", #"Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6",
"Accept": "*/*;q=0.5, audio/*, url/*",
"Accept-Language": "en-US,en,de,es,fr,it,*;q=0.1",
"Accept-Encoding": "gzip,deflate",
"Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.1",
"Keep-Alive": "115",
"Connection": "keep-alive",
#"Content-Length", "56",
|
| ︙ | ︙ |