提交 694fe540 编写于 作者: G GitLab Bot

Add latest changes from gitlab-org/gitlab@master

上级 cd582dec
......@@ -42,6 +42,9 @@ curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab
}
```
NOTE: **Note:**
The upload request will be sent with `Content-Type: application/gzip` header. Ensure that your pre-signed URL includes this as part of the signature.
## Export status
Get the status of export.
......
......@@ -115,7 +115,7 @@ Example `CODEOWNERS` file:
# This will match all files for which the file name ends in `.rb`
*.rb @ruby-owner
# Files with a `#` can still be accesssed by escaping the pound sign
# Files with a `#` can still be accessed by escaping the pound sign
\#file_with_pound.rb @owner-file-with-pound
# Multiple codeowners can be specified, separated by spaces or tabs
......
......@@ -52,7 +52,10 @@ module Gitlab
end
def headers
{ 'Content-Length' => export_size.to_s }
{
'Content-Type' => 'application/gzip',
'Content-Length' => export_size.to_s
}
end
def export_size
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册