You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2020/04/11 13:50:52 UTC

[GitHub] [maven-studies] ZhangChaoWN commented on issue #1: let curl following redirect

ZhangChaoWN commented on issue #1: let curl following redirect
URL: https://github.com/apache/maven-studies/pull/1#issuecomment-612425870
 
 
   > Why?
   
   I use a mirror to speed up the download process of the wrapper binary file, the mirror server response with a 302 redirect.
   ```
   demo % cat .mvn/wrapper/maven-wrapper.properties                                                                                         
   distributionUrl=https://maven.aliyun.com/nexus/content/repositories/central/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
   wrapperUrl=https://maven.aliyun.com/nexus/content/repositories/central/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
   demo % curl -i https://maven.aliyun.com/nexus/content/repositories/central/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
   HTTP/2 302 
   date: Sat, 11 Apr 2020 13:42:14 GMT
   content-length: 0
   location: https://archiva-maven-storage-prod.oss-cn-beijing.aliyuncs.com/repository/central/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip?Expires=1586616134&OSSAccessKeyId=LTAIfU51SusnnfCC&Signature=RWTjuDHjLklhjFQJVoB475zJm0s%3D
   server: Tengine
   set-cookie: JSESSIONID=1nhon0izb9faj1iw27pzqwu7o2;Path=/
   expires: Thu, 01 Jan 1970 00:00:00 GMT
   last-modified: Sat, 30 Nov 2019 07:30:34 GMT
   eagleeye-traceid: 0bc152af15866125341737564e4047
   strict-transport-security: max-age=31536000
   timing-allow-origin: *
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services