dongjoon-hyun opened a new pull request #23476: [SPARK-26554][BUILD] Update 
`release-util.sh` to avoid GitBox fake 200 headers
URL: https://github.com/apache/spark/pull/23476
 
 
   ## What changes were proposed in this pull request?
   
   Unlike the previous Apache Git repository, new GitBox returns a fake HTTP 
200 header instead of `404 Not Found` header. This makes release scripts out of 
order. This issue aims to fix it to handle the context message instead of the 
fake HTTP headers. This is a release blocker.
   
   ```bash
   $ curl -s --head --fail 
"https://gitbox.apache.org/repos/asf?p=spark.git;a=commit;h=v3.0.0";
   HTTP/1.1 200 OK
   Date: Sun, 06 Jan 2019 22:42:39 GMT
   Server: Apache/2.4.18 (Ubuntu)
   Vary: Accept-Encoding
   Access-Control-Allow-Origin: *
   Access-Control-Allow-Methods: POST, GET, OPTIONS
   Access-Control-Allow-Headers: X-PINGOTHER
   Access-Control-Max-Age: 1728000
   Content-Type: text/html; charset=utf-8
   ```
   
   ## How was this patch tested?
   
   Manual.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to