o2r-project / o2r-transportar

Superseeded by https://github.com/o2r-project/o2r-transporter
http://o2r.info
Apache License 2.0
0 stars 0 forks source link

Set host for zip comment manually #4

Open nuest opened 7 years ago

nuest commented 7 years ago

It must be possible to set the host for the zip-comment manually to work behind proxies:

$ wget https://o2r.uni-muenster.de/api/v1/compendium/CXE1c.zip
--2016-09-19 17:31:38--  https://o2r.uni-muenster.de/api/v1/compendium/CXE1c.zip
Resolving o2r.uni-muenster.de (o2r.uni-muenster.de)... 128.176.112.97
Connecting to o2r.uni-muenster.de (o2r.uni-muenster.de)|128.176.112.97|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘CXE1c.zip’

CXE1c.zip                                          [        <=>                                                                                       ]  14.91M  10.6MB/s    in 1.4s    

2016-09-19 17:31:39 (10.6 MB/s) - ‘CXE1c.zip’ saved [15631563]

daniel@gin-nuest:~/git/o2r$ unzip -z CXE1c.zip 
Archive:  CXE1c.zip
Created by o2r [http://virt.uni-muenster.de/api/v1/compendium/CXE1c.zip]