You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/01/06 23:00:00 UTC
[jira] [Created] (SPARK-26554) Update `release-util.sh` to avoid
GitBox fake 200 headers
Dongjoon Hyun created SPARK-26554:
-------------------------------------
Summary: Update `release-util.sh` to avoid GitBox fake 200 headers
Key: SPARK-26554
URL: https://issues.apache.org/jira/browse/SPARK-26554
Project: Spark
Issue Type: Bug
Components: Build
Affects Versions: 2.4.1, 3.0.0
Reporter: Dongjoon Hyun
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.
{code}
$ 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
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org